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
Error: Provider produced inconsistent final plan
When expanding the plan for module.asg.aws_autoscaling_group.cluster to
include new values learned so far during apply, provider "aws" produced an
invalid new value for .availability_zones: was known, but now unknown.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
Steps to Reproduce
terraform apply
Get error.
terraform apply again
Works.
Important Factoids
Nothing special I guess.
References
I have read some other issues here about "inconsistent final plan". None are similar.
The text was updated successfully, but these errors were encountered:
We had the same problem and I just figured out the issue. You have both availability_zones and vpc_zone_identifier set. Removing the availability_zones argument solved this for us.
From the docs:
availability_zones - (Required only for EC2-Classic) A list of one or more availability zones for the group. This parameter should not be specified when using vpc_zone_identifier.
vpc_zone_identifier (Optional) A list of subnet IDs to launch resources in.
Community Note
Terraform Version
v0.12.6
Affected Resource(s)
Terraform Configuration Files
https://github.com/Magicloud/ifp-example/blob/master/alb-test/tester.tf
All modules it uses is in the repo.
Debug Output
https://github.com/Magicloud/ifp-example/blob/master/alb-test/tf-debug.log
Panic Output
N/A
Expected Behavior
A VPC, an ASG, an ELB setup.
Actual Behavior
Steps to Reproduce
terraform apply
Get error.
terraform apply
againWorks.
Important Factoids
Nothing special I guess.
References
I have read some other issues here about "inconsistent final plan". None are similar.
The text was updated successfully, but these errors were encountered: