作者:Coco李可儿 | 来源:互联网 | 2023-10-13 10:42
This issue was originally opened by as hashicorp/terraform#18844. It was migrated here as a result of the provider split. The original body of the issue is below.
I am getting this error message when trying to apply a change to my EC2 instance when trying to invoke a change which requires replacing my EC2.
Terraform Version
According the to the tutorial, running
to change an AWS EC2 should remove the old instance and create a new one to take its place.
Actual Behavior
It seems to actually destroy the old instance, but it faults before creating the replacement instance. This behavior is repeatable.
Steps to Reproduce
- create a terraform file to create an EC2.
- run:
- change the terraform file with a modification which requires replacing the EC2.
- run:
again
该提问来源于开源项目:hashicorp/terraform-provider-aws
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!