instance_interruption_behaviour results in availability_zone being ignored #12680
Labels
service/ec2
Issues and PRs that pertain to the ec2 service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Terraform Version
Terraform v0.12.24
Affected Resource(s)
aws_spot_instance_request
Debug Output
https://gist.github.com/realflash/80b306253fbcc2d67e35c0c5c93d9080
Expected Behaviour
Both instance requests created in the requested zone
Actual Behaviour
Instance with instance_interruption_behaviour = "stop" created in zone 2b instead of the requested zone. State file incorrect:
Actual zone is 2b:
Steps to Reproduce
terraform apply
The text was updated successfully, but these errors were encountered: