Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 10 Oct 16:00
· 1 commit to refs/heads/main since this release
fix(filter_policy_scope): changed default to null, added tests @vladget (#88) ## what * Bug fix for default value of filter_policy_scope * Added test to avoid a similar bug in the future

why

the default value(MessageAttributes) of filter_policy_scope cause error in the case when filter_policy is unset :

│ Error: filter_policy is required when filter_policy_scope is set
│ 
│   with module.sns_topic["my-topic"].aws_sns_topic_subscription.this["my-topic"],
│   on .terraform/modules/sns_topic/main.tf line 29, in resource "aws_sns_topic_subscription" "this":
│   29: resource "aws_sns_topic_subscription" "this" {