Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generated terraform fails because s3 bucket attributes acl and server_side_encryption are empty #16828

Open
mwiede opened this issue Sep 13, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@mwiede
Copy link

mwiede commented Sep 13, 2024

/kind bug

I am upgrading from Kops 1.29.0 to 1.30.0 and facing the issue described in #16818

resource "aws_s3_object" "cluster-completed-spec" {
  acl                    = ""
  bucket                 = "foobar"
  content                = file("${path.module}/data/aws_s3_object_cluster-completed.spec_content")
  key                    = "foobar/cluster-completed.spec"
  provider               = aws.files
  server_side_encryption = ""
}

1. What kops version are you running? The command kops version, will display
this information.

v1.30.0

3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
I found #16818 so the issue was already reproduced.

9. Anything else do we need to know?

if I use master branch and build Kops, the issue does not occur in 1.30.0-beta.1

I tried setting KOPS_STATE_S3_ACL=private which solves the empty acl, but there is no way to overwrite server_side_encryption.

When is the next release published from master?

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 13, 2024
@rifelpet
Copy link
Member

I opened a cherrypick for 1.30 #16830 so this will be included in the next 1.30.2 release. We just created the 1.30.1 release so 1.30.2 may be a week or two away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants