作者: | 来源:互联网 | 2023-08-26 10:53
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v0.11.3
+ provider.aws v1.9.0
Affected Resource(s)
Please list the resources as a list, for example:
aws_s3_bucket
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
vi main.tf
provider "aws" {
region = "us-east-1"
profile = "saml"
}
resource "aws_s3_bucket" "bucket" {
bucket = "pruvpcaws016-testbucket2"
tags {
Purpose = "Hostname Tagging"
}
}
```
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
.
Expected Behavior
S3 bucket created.
Actual Behavior
S3 bucket created but TEFFAFORM CRASH
* aws_s3_bucket.bucket: unexpected EOF
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
1.
Important Factoids
2018-02-11T20:46:33.087-0500 [DEBUG] plugin.terraform-provider-aws_v1.9.0_x4: 2018/02/11 20:46:33 [ERROR] WaitForState exceeded refresh grace period
2018-02-11T20:46:33.089-0500 [DEBUG] plugin.terraform-provider-aws_v1.9.0_x4: panic: interface conversion: interface {} is nil, not *s3.GetBucketLocationOutput
2018-02-11T20:46:33.089-0500 [DEBUG] plugin.terraform-provider-aws_v1.9.0_x4:
2018-02-11T20:46:33.089-0500 [DEBUG] plugin.terraform-provider-aws_v1.9.0_x4: goroutine 151 [running]:
2018-02-11T20:46:33.089-0500 [DEBUG] plugin.terraform-provider-aws_v1.9.0_x4: github.com/terraform-providers/terraform-provider-aws/aws.resourceAwsS3BucketRead(0xc420499a40, 0x25663c0, 0xc42007ca00, 0x0, 0xc42036d818)
References
该提问来源于开源项目: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!