You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
achave11-ucsc opened this issue
Jan 30, 2025
· 2 comments
Labels
orange[process] Done by the Azul teamspike:1[process] Spike estimate of one pointwontfix[process] Issue is valid but resolution is not deemed necessary
$ CI_COMMIT_REF_NAME=develop make -C terraform/browser plan
...
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
╷
│ Warning: Argument is deprecated
│
│ with aws_s3_bucket.browser,
│ on browser.tf.json line 62, in resource[0].aws_s3_bucket[0].browser:
│ 62: "lifecycle_rule": {
│ 63: "id": "azul-dummy-dev",
│ 64: "enabled": false,
│ 65: "expiration": {
│ 66: "days": 36500
│ 67: }
│ 68: },
│
│ Use the aws_s3_bucket_lifecycle_configuration resource instead
│
│ (and 3 more similar warnings elsewhere)
$ CI_COMMIT_REF_NAME=develop make -C terraform/shared plan
...
Plan: 0 to add, 3 to change, 1 to destroy.
╷
│ Warning: Argument is deprecated
│
│ with aws_s3_bucket.trail,
│ on shared.tf.json line 95, in resource[3].aws_s3_bucket[0].trail:
│ 95: "lifecycle_rule": {
│ 96: "id": "azul-dummy-dev",
│ 97: "enabled": false,
│ 98: "expiration": {
│ 99: "days": 36500
│ 100: }
│ 101: },
│
│ Use the aws_s3_bucket_lifecycle_configuration resource instead
│
│ (and 3 more similar warnings elsewhere)
╵
The text was updated successfully, but these errors were encountered:
We created (2c7ada2) these dummy lifecycle rules specificaly to ensure that no other rules exist on the bucket.
I'm doubtful that TF will go forward with the deprecation since there is a valid use case for both methods of specifying a lifecycle rule. The inline method assumes full control, the non-inline method allows for lifecycle rules not controlled by TF.
If TF does in fact remove the inline method, we can easily drop the dummies.
orange[process] Done by the Azul teamspike:1[process] Spike estimate of one pointwontfix[process] Issue is valid but resolution is not deemed necessary
The text was updated successfully, but these errors were encountered: