ibm-cloud-architecture / terraform-openshift4-aws

OpenShift 4 installation automation asset
Apache License 2.0
84 stars 114 forks source link

aws_s3_bucket deprecation warnings #57

Open nastacio opened 2 years ago

nastacio commented 2 years ago

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