Closed jordan-huangwei closed 6 years ago
I'm guessing this is caused by the new call to DescribeInstanceCreditSpecifications
-- we can have the provider ignore the error on read for UnsupportedOperation
Bugfix pull request submitted: #4362
The fix for this in the resource and data source has been merged into master and will release with v1.17.0 of the AWS provider, likely middle of next week.
This also affects GovCloud (US) as well: #4372
This has been released in version 1.17.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
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!
Terraform Version
Terraform v0.11.6 provider.aws v1.16.0
Affected Resource(s)
aws_instance_ec2
Terraform Configuration Files
module "docdb" { source = "../../../../../../tradeshift-puppet/terraform/modules/aws/instances-cn/riak" environment = "${var.pull_request}" stackname = "${var.stackname}" role = "docdb" owner = "${var.owner}" decomission_date = "${var.decomission_date}" instance_type = "t2.large" instance_ami = "${module.regional-common.base_ami_1604}" instance_key_name = "${module.regional-common.key_name}" disable_api_termination = false ebs_volume_size = "100" ebs_delete_on_termination = "false" ebs_optimized = false vpc_security_groups = "${data.terraform_remote_state.security_groups.stack_it_run_access_sg_id}" vpc_subnets = "${data.terraform_remote_state.vpc.private_subnets}" postfix = ".${var.stackname}" dns_region_name = "${module.regional-common.region_dns}" disk_encryption_key = "dr69ZUGVm0Ep1Eo/xBoOTcefuKVx" count = "1" cert_name = "${module.environment-common.cert_name}" }
Debug Output
Expected Behavior
can create aws instance in China AWS
Actual Behavior
I can create aws instance in China AWS with provider.aws v1.15.0 but I can't create aws instance with provider.aws v1.16.0