Skip to content

aws_s3_bucket deprecation warnings #57

@nastacio

Description

@nastacio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions