Idempotency issue with metadata_options
when http_endpoint
is disable on aws_launch_template
#25836
Labels
bug
Addresses a defect in current functionality.
service/autoscaling
Issues and PRs that pertain to the autoscaling service.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
Run the apply twice shouldn't show any changes.
Actual Behavior
When running the first apply, every thing deploy well. When re-apply without any changes, the plan shows
Steps to Reproduce
Run the apply twice
terraform apply
terraform apply
Important Factoids
Have the same issue with when not setting the metadata tags option
On the first plan, we can see that
instance_metadata_tags
is not in(known after apply)
state like thisThe
aws_instance
resource is not affected by this issueReferences
The text was updated successfully, but these errors were encountered: