Skip to content

Commit bab3230

Browse files
committed
🤖 chore: upgrade terraform eks versions and document backend ref
1 parent ce23fa8 commit bab3230

5 files changed

Lines changed: 31 additions & 22 deletions

File tree

‎AGENTS.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ You are an experienced, pragmatic software engineering AI agent. Do not over-eng
4444
- `vendor/`: checked-in module dependencies (required by project workflow).
4545
- `.mux/skills/coder-docs/`: Mux agent skill with offline coder/coder docs snapshot (update: `make update-coder-docs-skill`).
4646

47+
### Terraform Backend Reference (Agents)
48+
- Keep Terraform backend values out of committed `.tf` code beyond shared backend settings in `terraform/versions.tf`.
49+
- Shared sandbox EKS state location:
50+
- S3 bucket: `coder-k8s-tfstate-112158171837`
51+
- State key: `terraform-ncp3/sandbox-eks/terraform.tfstate`
52+
- Initialize Terraform against that backend with explicit config flags (example):
53+
- `nix develop -c terraform -chdir=terraform init -reconfigure -backend-config="bucket=coder-k8s-tfstate-112158171837" -backend-config="key=terraform-ncp3/sandbox-eks/terraform.tfstate"`
54+
- When AWS CLI access is needed, run commands through the Nix dev shell (`nix develop -c ...`).
55+
4756
### Architecture notes
4857
- `main` delegates to `run(...)`, which requires `--app=<controller|aggregated-apiserver>`.
4958
- `controller` mode registers core Kubernetes + `coder.com/v1alpha1` schemes, starts the controller-runtime manager, and wires health/readiness probes.

‎terraform/.terraform.lock.hcl‎

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎terraform/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This directory provisions a cost-optimized Amazon EKS sandbox cluster in region
1010
- Internet Gateway
1111
- Single NAT Gateway (lower cost than one per AZ)
1212
- IAM roles for EKS control plane and worker nodes
13-
- EKS cluster (`sandbox-eks`, Kubernetes `1.31`) with public and private API endpoint access
13+
- EKS cluster (`sandbox-eks`, Kubernetes `1.35`) with public and private API endpoint access
1414
- One managed node group:
1515
- Instance type: `t3.medium`
1616
- Desired/min/max size: `2/1/3`
@@ -21,7 +21,7 @@ This directory provisions a cost-optimized Amazon EKS sandbox cluster in region
2121

2222
## Prerequisites
2323

24-
- Terraform `>= 1.11`
24+
- Terraform `>= 1.14`
2525
- AWS CLI v2 installed
2626
- AWS identity with permissions to create VPC, IAM, EKS, and EC2 resources in your target account
2727

‎terraform/variables.tf‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ variable "cluster_name" {
1919
variable "cluster_version" {
2020
description = "Kubernetes version for the EKS control plane."
2121
type = string
22-
default = "1.31"
22+
default = "1.35"
2323
}
2424

2525
variable "vpc_cidr" {

‎terraform/versions.tf‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 1.11"
2+
required_version = ">= 1.14"
33

44
backend "s3" {
55
region = "eu-central-1"
@@ -11,7 +11,7 @@ terraform {
1111
required_providers {
1212
aws = {
1313
source = "hashicorp/aws"
14-
version = "~> 5.0"
14+
version = "~> 6.0"
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)