crc-org / crc-cloud

Disposable OpenShift instances on cloud in minutes
31 stars 19 forks source link

Import fails with S3 bucket ACL error #120

Closed hguerrero closed 11 months ago

hguerrero commented 1 year ago

When running import the process fails with error:

Diagnostics:
  pulumi:pulumi:Stack (ami-ocp412-crcCloud-ImageImport):
    error: update failed

  aws:s3:BucketAclV2 (crcCloudImporterTempBucketACL):
    error: 1 error occurred:
        * error creating S3 bucket ACL for crc-cloud-6cb8925b: AccessControlListNotSupported: The bucket does not allow ACLs

Looks like AWS change the policies in April 2023: https://aws.amazon.com/about-aws/whats-new/2022/12/amazon-s3-automatically-enable-block-public-access-disable-access-control-lists-buckets-april-2023/

adrianriobo commented 11 months ago

depends on #146