[Bug]: Terraform incorrectly shows no changes/Actual state is not compared with TF state #37562
Open
Description
Terraform Core Version
v1.8.2
AWS Provider Version
v4.67.0
Affected Resource(s)
- aws_autoscaling_group
Expected Behavior
Terraform should show mismatches between state and actual configuration.
Actual Behavior
Terraform does not show mismatches
Relevant Error/Panic Output Snippet
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.
Terraform Configuration Files
This configuration correspons to current live configuration:
Current TF configuration
vpc_zone_identifier = [
aws_subnet.a_private_prd_plntr.id,
aws_subnet.b_private_prd_plntr.id,
aws_subnet.c_private_prd_plntr.id,
aws_subnet.d_private_prd_plntr.id,
]
Steps to Reproduce
- Make changes on Live
- Make changes in TF configration
- Run
terraform plan
Terraform compares current configuration with live configuration and does not change the old TF state which refers to the old TF configuration.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None