Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Ignore tags for aws_appautoscaling_target #474

Closed
wants to merge 1 commit into from

Conversation

namnd
Copy link

@namnd namnd commented Nov 9, 2024

Description

Scalable targets created before 2023-03-20 may not have an assigned arn. These resource cannot use tags or participate in default_tags. To prevent terraform plan showing differences that can never be reconciled, use the lifecycle.ignore_changes meta-argument Reference: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/appautoscaling_target

Motivation and Context

See #473

Breaking Changes

None

How Has This Been Tested?

  • I have tested and validated these changes using one or more of the provided examples/* projects

Scalable targets created before 2023-03-20 may not have an assigned arn.
These resource cannot use tags or participate in default_tags.
To prevent terraform plan showing differences that can never be reconciled, use the lifecycle.ignore_changes meta-argument
Reference: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/appautoscaling_target
@namnd namnd changed the title fix: ignore tags for aws_appautoscaling_target Fix: ignore tags for aws_appautoscaling_target Nov 9, 2024
@namnd namnd changed the title Fix: ignore tags for aws_appautoscaling_target fix: Ignore tags for aws_appautoscaling_target Nov 9, 2024
Copy link
Member

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not valid, Terraform does not support this

@namnd namnd closed this Nov 10, 2024
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