Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.
Terraform CLI and Terraform AWS Cloud Control Provider Version
Terraform v1.10.0-beta1
on darwin_amd64
+ provider registry.terraform.io/hashicorp/awscc v1.21.0
Affected Resource(s)
awscc_cloudformation_guard_hook
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected the hook to be created on the target AWS account.
Actual Behavior
Deployment failed with the below message
╷
│ Error: Invalid Attribute Value Match
│
│ with awscc_cloudformation_guard_hook.example,
│ on main.tf line 8, in resource "awscc_cloudformation_guard_hook" "example":
│ 8: target_operations = ["CLOUD_CONTROL"]
│
│ Attribute target_operations[0] value must be one of: ["RESOURCE" "STACK" "CHANGE_SET"], got: "CLOUD_CONTROL"
Steps to Reproduce
terraform apply with an execution role and a guard rule saved in an S3 bucket.
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform apply
with an execution role and a guard rule saved in an S3 bucket.Important Factoids