Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- "keypair"

- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.81.0
rev: v1.83.6
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
11 changes: 6 additions & 5 deletions aws-quickstart
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ OPTIONS:
Destroy the workload and infrastructure.

--kubernetes-version
Kubernetes version to use. This must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32
(default: 1.32).
Kubernetes version to use. This must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33
(default: 1.33).
EOF
}

# Default arguments.
AMI_ID=""
DESTROY=""
KUBERNETES_VERSION="1.32"
KUBERNETES_VERSION="1.33"
XR_USERNAME=""
XR_PASSWORD=""
BASTION_REMOTE_ACCESS_CIDR_BLOCKS=""
Expand Down Expand Up @@ -107,8 +107,9 @@ if [ "${KUBERNETES_VERSION}" != "1.26" ] &&
[ "${KUBERNETES_VERSION}" != "1.29" ] &&
[ "${KUBERNETES_VERSION}" != "1.30" ] &&
[ "${KUBERNETES_VERSION}" != "1.31" ] &&
[ "${KUBERNETES_VERSION}" != "1.32" ]; then
>&2 echo "error: Kubernetes version (--kubernetes-version) must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32"
[ "${KUBERNETES_VERSION}" != "1.32" ] &&
[ "${KUBERNETES_VERSION}" != "1.33" ]; then
>&2 echo "error: Kubernetes version (--kubernetes-version) must be one of: 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32, 1.33"
ERROR=1
fi

Expand Down
6 changes: 3 additions & 3 deletions examples/bootstrap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ When you are finished, make sure you first destroy any other configurations laye
terraform destroy
```

<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
Expand All @@ -42,12 +42,12 @@ terraform destroy
|------|-------------|------|---------|:--------:|
| <a name="input_azs"></a> [azs](#input\_azs) | List of exactly two availability zones in the currently configured AWS region.<br>A private subnet and a public subnet is created in each of these availability zones.<br>Each cluster node is launched in one of the private subnets.<br>If null, then the first two availability zones in the currently configured AWS region is used. | `list(string)` | `null` | no |
| <a name="input_bastion_remote_access_cidr_blocks"></a> [bastion\_remote\_access\_cidr\_blocks](#input\_bastion\_remote\_access\_cidr\_blocks) | Allowed CIDR blocks for external SSH access to the Bastion instance.<br>This must be a list of strings.<br>If null, then access to the Bastion instance is prevented. | `list(string)` | n/a | yes |
| <a name="input_cluster_version"></a> [cluster\_version](#input\_cluster\_version) | Cluster version | `string` | `"1.32"` | no |
| <a name="input_cluster_version"></a> [cluster\_version](#input\_cluster\_version) | Cluster version | `string` | `"1.33"` | no |
| <a name="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix) | Used as a prefix for the 'Name' tag for each created resource.<br>If null, then a random name 'xrd-terraform-[0-9a-z]{8}' is used. | `string` | `null` | no |

## Outputs

| Name | Description |
|------|-------------|
| <a name="output_bootstrap"></a> [bootstrap](#output\_bootstrap) | Bootstrap module outputs |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->
2 changes: 1 addition & 1 deletion examples/bootstrap/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ variable "bastion_remote_access_cidr_blocks" {
variable "cluster_version" {
description = "Cluster version"
type = string
default = "1.32"
default = "1.33"
nullable = false
}
4 changes: 2 additions & 2 deletions examples/overlay/infra/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
Expand All @@ -24,4 +24,4 @@
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
| <a name="output_kubeconfig_path"></a> [kubeconfig\_path](#output\_kubeconfig\_path) | Path to the generated kubeconfig file |
| <a name="output_nodes"></a> [nodes](#output\_nodes) | Map of worker node name to instance ID |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->
4 changes: 2 additions & 2 deletions examples/overlay/workload/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
Expand All @@ -23,4 +23,4 @@
| Name | Description |
|------|-------------|
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->
4 changes: 2 additions & 2 deletions examples/singleton/infra/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
Expand All @@ -23,4 +23,4 @@
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
| <a name="output_kubeconfig_path"></a> [kubeconfig\_path](#output\_kubeconfig\_path) | Path to the generated kubeconfig file |
| <a name="output_node_id"></a> [node\_id](#output\_node\_id) | Instance ID of the single worker node instance |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->
4 changes: 2 additions & 2 deletions examples/singleton/workload/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
Expand All @@ -24,4 +24,4 @@
| Name | Description |
|------|-------------|
| <a name="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name) | Cluster name |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->
2 changes: 1 addition & 1 deletion modules/aws/eks-config/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ terraform {

helm = {
source = "hashicorp/helm"
version = ">= 2.9"
version = ">= 2.9, < 3.0"
}

http = {
Expand Down
3 changes: 2 additions & 1 deletion tests/ut/test_eks.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def security_group(ec2: EC2ServiceResource, vpc: Vpc) -> SecurityGroup:
@pytest.fixture
def base_vars(subnet1: Subnet, subnet2: Subnet) -> dict[str, Any]:
return {
"cluster_version": "1.32",
"cluster_version": "1.33",
"name": str(uuid.uuid4()),
"subnet_ids": [subnet1.id, subnet2.id],
}
Expand Down Expand Up @@ -130,6 +130,7 @@ def test_defaults(
"1.29",
"1.30",
"1.31",
"1.32",
),
)
def test_cluster_version(
Expand Down