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

aws_s3_bucket deprecation warnings #57

Open
nastacio opened this issue Jun 1, 2022 · 0 comments
Open

aws_s3_bucket deprecation warnings #57

nastacio opened this issue Jun 1, 2022 · 0 comments

Comments

@nastacio
Copy link

nastacio commented Jun 1, 2022

I see these warnings on the output of terraform plan...:

Changes to Outputs:
  + apiURL     = "api.dntest1.cloudpak-bringup.com:6443"
  + consoleURL = "https://console-openshift-console.apps.dntest1.cloudpak-bringup.com"
  + infraID    = (known after apply)
  + kubeadmin  = (known after apply)
╷
│ Warning: Argument is deprecated
│ 
│   with module.bootstrap.aws_s3_bucket.ignition,
│   on bootstrap/main.tf line 20, in resource "aws_s3_bucket" "ignition":
│   20:   acl = "private"
│ 
│ Use the aws_s3_bucket_acl resource instead
│ 
│ (and 5 more similar warnings elsewhere)

The fix seems straightforward:
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_acl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant