Skip to content

Conversation

@marcoieni
Copy link
Member

@marcoieni marcoieni commented Dec 19, 2025

Plan after upgrading was:

Plan: 0 to add, 1 to change, 0 to destroy.
12:46:55.237 STDOUT terraform:
12:46:55.237 STDOUT terraform: ╷
12:46:55.237 STDOUT terraform: │ Warning: Failed to decode resource from state
12:46:55.237 STDOUT terraform: │
12:46:55.237 STDOUT terraform: │ Error decoding "aws_launch_template.builder" from prior state: unsupported
12:46:55.237 STDOUT terraform: │ attribute "elastic_gpu_specifications"
12:46:55.237 STDOUT terraform: ╵
12:46:55.237 STDOUT terraform: ╷
12:46:55.237 STDOUT terraform: │ Warning: Failed to decode resource from state
12:46:55.237 STDOUT terraform: │
12:46:55.237 STDOUT terraform: │ Error decoding "aws_autoscaling_group.builder" from prior state:
12:46:55.237 STDOUT terraform: │ unsupported attribute "tags"
12:46:55.237 STDOUT terraform: ╵
12:46:55.237 STDOUT terraform: ╷
12:46:55.237 STDOUT terraform: │ Warning: Invalid Attribute Combination
12:46:55.237 STDOUT terraform: │
12:46:55.237 STDOUT terraform: │   with aws_s3_bucket_lifecycle_configuration.backups,
12:46:55.237 STDOUT terraform: │   on s3.tf line 69, in resource "aws_s3_bucket_lifecycle_configuration" "backups":
12:46:55.237 STDOUT terraform: │   69:     expiration {
12:46:55.237 STDOUT terraform: │
12:46:55.237 STDOUT terraform: │ 2 attributes specified when one (and only one) of
12:46:55.237 STDOUT terraform: │ [rule[0].expiration[0].date,rule[0].expiration[0].days,rule[0].expiration[0].expired_object_delete_marker]
12:46:55.237 STDOUT terraform: │ is required
12:46:55.237 STDOUT terraform: │
12:46:55.238 STDOUT terraform: │ This will be an error in a future version of the provider
12:46:55.238 STDOUT terraform: │
12:46:55.238 STDOUT terraform: │ (and one more similar warning elsewhere)
12:46:55.238 STDOUT terraform: ╵
12:46:55.238 STDOUT terraform: ╷
12:46:55.238 STDOUT terraform: │ Warning: Deprecated attribute
12:46:55.238 STDOUT terraform: │
12:46:55.238 STDOUT terraform: │   on ../ecs-task/main.tf line 23, in resource "aws_ecs_task_definition" "task":
12:46:55.238 STDOUT terraform: │   23:           "awslogs-region"        = data.aws_region.current.name
12:46:55.238 STDOUT terraform: │
12:46:55.238 STDOUT terraform: │ The attribute "name" is deprecated. Refer to the provider documentation for
12:46:55.238 STDOUT terraform: │ details.
12:46:55.238 STDOUT terraform: │
12:46:55.238 STDOUT terraform: │ (and one more similar warning elsewhere)
12:46:55.238 STDOUT terraform: ╵
12:46:55.238 STDERR terraform: ╷
12:46:55.238 STDERR terraform: │ Error: Most Recent Image Not Filtered
12:46:55.238 STDERR terraform: │
12:46:55.238 STDERR terraform: │   with data.aws_ami.builder,
12:46:55.238 STDERR terraform: │   on builder.tf line 49, in data "aws_ami" "builder":
12:46:55.238 STDERR terraform: │   49: data "aws_ami" "builder" {
12:46:55.238 STDERR terraform: │
12:46:55.238 STDERR terraform: │ "most_recent" is set to "true" and results are not filtered by owner or
12:46:55.238 STDERR terraform: │ image ID. With this configuration, a third party may introduce a new image
12:46:55.238 STDERR terraform: │ which will be returned by this data source. Filter by owner or image ID to
12:46:55.238 STDERR terraform: │ avoid this possibility.

Plan after these changes:

12:58:54.921 STDOUT terraform: Terraform will perform the following actions:
12:58:54.921 STDOUT terraform:   # aws_s3_bucket_lifecycle_configuration.backups will be updated in-place
12:58:54.921 STDOUT terraform:   ~ resource "aws_s3_bucket_lifecycle_configuration" "backups" {
12:58:54.921 STDOUT terraform:         id                                     = "docs-rs-backups-519825364412"
12:58:54.921 STDOUT terraform:       ~ transition_default_minimum_object_size = "varies_by_storage_class" -> "all_storage_classes_128K"
12:58:54.921 STDOUT terraform:         # (2 unchanged attributes hidden)
12:58:54.921 STDOUT terraform:         # (1 unchanged block hidden)
12:58:54.921 STDOUT terraform:     }
12:58:54.921 STDOUT terraform: Plan: 0 to add, 1 to change, 0 to destroy.

this change is a default that changed and it seems safe to apply

@marcoieni marcoieni marked this pull request as ready for review December 19, 2025 12:03
@marcoieni marcoieni force-pushed the update-aws-provider-and-fix-warning-in-docs-rs-terragrunt-module branch from 17baac6 to 7610279 Compare December 19, 2025 12:04
@marcoieni marcoieni merged commit aa7f424 into master Dec 19, 2025
4 checks passed
@marcoieni marcoieni deleted the update-aws-provider-and-fix-warning-in-docs-rs-terragrunt-module branch December 19, 2025 12:07
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.

1 participant