热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

terraform0.11.8attributemismatch:credit_specificationcpu_credits

Thisissuewasoriginallyopenedbyashashicorp/terraform#18844.Itwasmigratedh

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

1
terraform apply

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


  1. create a terraform file to create an EC2.

  2. run:
    1
    terraform apply


  3. change the terraform file with a modification which requires replacing the EC2.

  4. run:
    1
    terraform apply

    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!


   



推荐阅读
author-avatar
Coco李可儿
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有