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
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
This configuration is required to implement data plane event logging of DynamoDB tables in cloudtrail and is a permitted configuration of the resource per the current api spec
Actual Behavior
errors out when validating data_resource in https://github.com/hashicorp/terraform-provider-aws/blob/v3.36.0/aws/resource_aws_cloudtrail.go#L113
ValidateFunc only checks membership in {"AWS::S3::Object", "AWS::Lambda::Function"}
Error: expected event_selector.2.data_resource.0.type to be one of [AWS::S3::Object AWS::Lambda::Function], got AWS::DynamoDB::Table
Hi @ryanbreed-clearme, thank you for raising this issue. Support for that type is being addressed in a PR tied to a similar issue (#18394) , so I'd refer there to follow-up on the needed change. I'm going to close this as a duplicate, but thank you again 😃 !
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
error log here
Expected Behavior
This configuration is required to implement data plane event logging of DynamoDB tables in cloudtrail and is a permitted configuration of the resource per the current api spec
Actual Behavior
errors out when validating
data_resource
inhttps://github.com/hashicorp/terraform-provider-aws/blob/v3.36.0/aws/resource_aws_cloudtrail.go#L113
ValidateFunc
only checks membership in{"AWS::S3::Object", "AWS::Lambda::Function"}
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: