You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# case 1resourceaws_s3_bucket_metricbucket-metric-prefix-root {
bucket="${aws_s3_bucket.bucket.bucket}"name="prefix-root"filter {
}
}
# case 2resourceaws_s3_bucket_metricbucket-metric-prefix-root {
bucket="${aws_s3_bucket.bucket.bucket}"name="prefix-root"filter {
prefix=""
}
}
Debug Output
Crash Output
Expected Behavior
According to s3_bucket_metric document, filter argument is optional. filter should be ok to be absent. Further, prefix and tags configurations under filter argument are both optional. It should allow filter argument to be empty.
Since AWS S3 allows empty prefix / tags, it makes sense to support empty string in prefix and tags under filter argument.
This particular error message suggests that the AWS provider itself crashed while performing an operation. Normally we see some more details about the crash printed out in that case, but it seems like for some reason the provider exited prematurely without an error this time.
I'm going to ask our bot to move this over to the AWS provider repository since the maintainers of the provider will have a better chance of understanding what's going on here. If it turns out to be a bug in Terraform CLI that a proper error message didn't get printed out to the UI here then we can open a new issue to represent that, but I think the main thing here is to figure out why the AWS provider is exiting ungracefully.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Jul 26, 2019
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
According to s3_bucket_metric document,
filter
argument is optional.filter
should be ok to be absent. Further,prefix
andtags
configurations underfilter
argument are both optional. It should allowfilter
argument to be empty.Since AWS S3 allows empty prefix / tags, it makes sense to support empty string in
prefix
andtags
underfilter
argument.Actual Behavior
Steps to Reproduce
terraform init
terraform plan
terraform apply
Additional Context
The Terraform command was executed directly from MacOS 10.14.4 with Bash shell 5.0.
References
The text was updated successfully, but these errors were encountered: