Skip to content

Conversation

@upodroid
Copy link
Member

Part of #8188

Couple of notes:

  1. I opted all the new regions in to the AWS account
  2. Terraform AWS provider v6 handles multi region much better as the resources have region parameter and there is no need for regional providers.
  3. I started backfilling the buckets with using AWS Datasync for af-south1. I'll be doing the rest with terraform.
  4. The state was stored in a CNCF account I can't access so I regenerate it.
  5. Enforcing BucketOwner disables ACLs so I got rid of aws_s3_bucket_acl

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. area/infra Infrastructure management, infrastructure design, code in infra/ area/infra/aws Issues or PRs related to Kubernetes AWS infrastructure sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. labels Nov 30, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: upodroid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 30, 2025
@k8s-infra-ci-robot
Copy link
Contributor

Ran Plan for 2 projects:

  1. dir: infra/aws/terraform/registry.k8s.io workspace: default
  2. dir: infra/aws/terraform/registry.k8s.io/s3 workspace: default

1. dir: infra/aws/terraform/registry.k8s.io workspace: default

Plan Error

running 'sh -c' '/atlantis/bin/terraform1.14.0 init -input=false -upgrade' in '/atlantis/repos/kubernetes/k8s.io/8819/default/infra/aws/terraform/registry.k8s.io': exit status 1
Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
╷
│ Error: Error refreshing state: Unable to access object "terraform.tfstate" in S3 bucket "k8s-infra-registry-k8s-io-tfstate": operation error S3: HeadObject, https response error StatusCode: 403, RequestID: 0KA0MVX92D64G57Y, HostID: DBaNBWhYlFAaUWdMzQ8evip+cfK/AqAZgsrl5J1tUasfj56tqd3nU2G8JuGN9xLB7JQwqS3rLKo=, api error Forbidden: Forbidden
│ 
│ 
╵


2. dir: infra/aws/terraform/registry.k8s.io/s3 workspace: default

Plan Error

running 'sh -c' '/usr/local/bin/terraform plan -input=false -refresh -out "/atlantis/repos/kubernetes/k8s.io/8819/default/infra/aws/terraform/registry.k8s.io/s3/default.tfplan"' in '/atlantis/repos/kubernetes/k8s.io/8819/default/infra/aws/terraform/registry.k8s.io/s3': exit status 1
╷
│ Error: No value for required variable
│ 
│   on variables.tf line 34:
│   34: variable "region" {
│ 
│ The root module input variable "region" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵


Plan Summary

2 projects, 0 with changes, 0 with no changes, 2 failed

  • ⏩ To apply all unapplied plans from this Pull Request, comment:
    atlantis apply
  • 🚮 To delete all plans and locks from this Pull Request, comment:
    atlantis unlock

@k8s-ci-robot
Copy link
Contributor

@upodroid: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-k8sio-verify c5896a1 link true /test pull-k8sio-verify

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/infra/aws Issues or PRs related to Kubernetes AWS infrastructure area/infra Infrastructure management, infrastructure design, code in infra/ cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants