Skip to content

aws-setup: fix deprecations#9814

Open
BacLuc wants to merge 1 commit into
ecamp:develfrom
BacLuc:aws-setup-fix-deprecations
Open

aws-setup: fix deprecations#9814
BacLuc wants to merge 1 commit into
ecamp:develfrom
BacLuc:aws-setup-fix-deprecations

Conversation

@BacLuc
Copy link
Copy Markdown
Contributor

@BacLuc BacLuc commented May 19, 2026

Deprecations were:
aws:s3:Bucket (ecamp3-staging-bucket):
warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "versioning" is deprecated: versioning is deprecated. Use the aws_s3_bucket_versioning resource instead.
warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "objectLockConfiguration.objectLockEnabled" is deprecated: objectLockEnabled is deprecated. Use the top-level parameter objectLockEnabled instead.
warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "objectLockConfiguration.rule" is deprecated: rule is deprecated. Use the aws_s3_bucket_object_lock_configuration resource instead.
warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "objectLockConfiguration" is deprecated: objectLockConfiguration is deprecated. Use the top-level parameter objectLockEnabled and the aws_s3_bucket_object_lock_configuration resource instead.
warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "acl" is deprecated: acl is deprecated. Use the aws_s3_bucket_acl resource instead.
warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "lifecycleRules" is deprecated: lifecycleRules is deprecated. Use the aws_s3_bucket_lifecycle_configuration resource instead.

Checked against staging with.
$ docker compose run --rm aws-setup pulumi preview
Type Name Plan Info
pulumi:pulumi:Stack ecamp-core-staging
~ ├─ aws:s3:Bucket ecamp3-staging-bucket update [diff: +tagsAll]

  • ├─ aws:s3:BucketVersioning ecamp3-staging-bucket-versioning create
  • ├─ aws:s3:BucketObjectLockConfiguration ecamp3-staging-bucket-object-lock create
  • ├─ aws:s3:BucketAcl ecamp3-staging-bucket-acl create
  • └─ aws:s3:BucketLifecycleConfiguration ecamp3-staging-bucket-lifecycle create

But did not apply it.

It will anyway need caution if we ever run this again.

Deprecations were:
 aws:s3:Bucket (ecamp3-staging-bucket):
    warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "versioning" is deprecated: versioning is deprecated. Use the aws_s3_bucket_versioning resource instead.
    warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "objectLockConfiguration.objectLockEnabled" is deprecated: objectLockEnabled is deprecated. Use the top-level parameter objectLockEnabled instead.
    warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "objectLockConfiguration.rule" is deprecated: rule is deprecated. Use the aws_s3_bucket_object_lock_configuration resource instead.
    warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "objectLockConfiguration" is deprecated: objectLockConfiguration is deprecated. Use the top-level parameter objectLockEnabled and the aws_s3_bucket_object_lock_configuration resource instead.
    warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "acl" is deprecated: acl is deprecated. Use the aws_s3_bucket_acl resource instead.
    warning: urn:pulumi:staging::ecamp-core::aws:s3/bucket:Bucket::ecamp3-staging-bucket verification warning: property "lifecycleRules" is deprecated: lifecycleRules is deprecated. Use the aws_s3_bucket_lifecycle_configuration resource instead.

Checked against staging with.
$ docker compose run --rm aws-setup pulumi preview
     Type                                     Name                               Plan       Info
     pulumi:pulumi:Stack                      ecamp-core-staging
 ~   ├─ aws:s3:Bucket                         ecamp3-staging-bucket              update     [diff: +tagsAll]
 +   ├─ aws:s3:BucketVersioning               ecamp3-staging-bucket-versioning   create
 +   ├─ aws:s3:BucketObjectLockConfiguration  ecamp3-staging-bucket-object-lock  create
 +   ├─ aws:s3:BucketAcl                      ecamp3-staging-bucket-acl          create
 +   └─ aws:s3:BucketLifecycleConfiguration   ecamp3-staging-bucket-lifecycle    create

But did not apply it.

It will anyway need caution if we ever run this again.
@BacLuc BacLuc requested a review from a team May 19, 2026 15:51
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

Successfully merging this pull request may close these issues.

2 participants