Releases: cloudposse/terraform-aws-sns-topic
v1.1.0
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 futurewhy
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" {
v1.0.0
Added filter_policy and filter_policy_scope functionality to subscribers @vladget (#87)
## what * Added filter_policy and filter_policy_scope functionality to subscribers * Made some properties of `subscribers` variable optional with defaults values * Bumped terraform version to `>= 1.3.0`why
- It will be great to have this functionality as feature request already there.
references
Sync github @max-lobur (#63)
Rebuild github dir from the template🤖 Automatic Updates
Migrate new test account @osterman (#85)
## what - Update `.github/settings.yml` - Update `.github/chatops.yml` fileswhy
- Re-apply
.github/settings.yml
from org level to getterratest
environment - Migrate to new
test
account
References
- DEV-388 Automate clean up of test account in new organization
- DEV-387 Update terratest to work on a shared workflow instead of a dispatch action
- DEV-386 Update terratest to use new testing account with GitHub OIDC
Update .github/settings.yml @osterman (#84)
## what - Update `.github/settings.yml` - Drop `.github/auto-release.yml` fileswhy
- Re-apply
.github/settings.yml
from org level - Use organization level auto-release settings
references
- DEV-1242 Add protected tags with Repository Rulesets on GitHub
Update .github/settings.yml @osterman (#83)
## what - Update `.github/settings.yml` - Drop `.github/auto-release.yml` fileswhy
- Re-apply
.github/settings.yml
from org level - Use organization level auto-release settings
references
- DEV-1242 Add protected tags with Repository Rulesets on GitHub
Update release workflow to allow pull-requests: write @osterman (#82)
## what - Update workflow (`.github/workflows/release.yaml`) to have permission to comment on PRwhy
- So we can support commenting on PRs with a link to the release
Update GitHub Workflows to use shared workflows from '.github' repo @osterman (#81)
## what - Update workflows (`.github/workflows`) to use shared workflows from `.github` repowhy
- Reduce nested levels of reusable workflows
Update GitHub Workflows to Fix ReviewDog TFLint Action @osterman (#80)
## what - Update workflows (`.github/workflows`) to add `issue: write` permission needed by ReviewDog `tflint` actionwhy
- The ReviewDog action will comment with line-level suggestions based on linting failures
Update GitHub workflows @osterman (#79)
## what - Update workflows (`.github/workflows/settings.yaml`)why
- Support new readme generation workflow.
- Generate banners
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#77)
## what- Install latest GitHub Action Workflows
why
- Use shared workflows from
cldouposse/.github
repository - Simplify management of workflows from centralized hub of configuration
Bump golang.org/x/net from 0.0.0-20200707034311-ab3426394381 to 0.17.0 in /test/src @dependabot (#76)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20200707034311-ab3426394381 to 0.17.0.Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Add GitHub Settings @osterman (#73)
## what - Install a repository config (`.github/settings.yaml`)why
- Programmatically manage GitHub repo settings
Update README.md and docs @cloudpossebot (#70)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
Update Scaffolding @osterman (#71)
## what - Reran `make readme` to rebuild `README.md` from `README.yaml` - Migrate to square badges - Add scaffolding for repo settings and Mergifywhy
- Upstream template changed in the
.github
repo - Work better with repository rulesets
- Modernize look & feel
Update README.md and docs @cloudpossebot (#67)
## what This is an auto-generated PR that updates the README.md and docswhy
To have most recent changes of README.md and doc from origin templates
v0.21.0
- No changes
v0.20.3
🚀 Enhancements
docs: updates to remove the bit on redrive policy (implemented in v0.20) @Gowiem (#62)
what
- Removes the language regarding redrive policy not being able to be implemented.
why
- This information was out of date. The redrive policy was implemented in the provider and subsequently implemented in this module in
v0.20.0
. See #43 and #47 for more details.
references
- Closes #47
v0.20.2
git.io->cloudposse.tools update @dylanbannon (#50)
what and why
Change all references to git.io/build-harness
into cloudposse.tools/build-harness
, since git.io
redirects will stop working on April 29th, 2022.
References
- DEV-143
🚀 Enhancements
Fix sns_topic_name output @nitrocode (#57)
what
- Fix sns_topic_name output
why
- Correct output
references
- Closes #45
v0.20.1
🚀 Enhancements
Disable policy if no principals @nitrocode (#44)
what
- Disable policy if no principals
why
- Prevent a malformed policy
references
- https://github.com/cloudposse/actions/runs/4267827651?check_suite_focus=true
- Fixes cloudposse/terraform-aws-code-deploy#10
- Supersedes and closes #41 (comment)
on .terraform/modules/code_deploy_blue_green.sns_topic/main.tf line 41, in resource "aws_sns_topic_policy" "this":
41: resource "aws_sns_topic_policy" "this" {
}
apply.go:15:
Error Trace: apply.go:15
examples_complete_test.go:37
Error: Received unexpected error:
FatalError{Underlying: error while running command: exit status 1;
Error: InvalidParameter: Invalid parameter: Policy Error: null
status code: 400, request id: 80029a7c-8d1d-5945-a2e0-c06d7d34cecc
on .terraform/modules/code_deploy_blue_green.sns_topic/main.tf line 41, in resource "aws_sns_topic_policy" "this":
41: resource "aws_sns_topic_policy" "this" {
}
Test: TestExamplesComplete
v0.20.0
Add fifo suffix, redrive policy, and additional outputs @nitrocode (#43)
what
- Allow periods in sqs fifo queue and sns topic if
fifo_topic
is true - Support
redrive_policy
- Added additional outputs
why
- fifo queues and sns topic require
.fifo
in their names and the default regex in context is stripping out the period
references
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sns_topic#name
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sqs_queue#name
- Closes #40
- Closes #42
- Closes #25
test
module "sns" {
source = "git::https://github.com/cloudposse/terraform-aws-sns-topic.git?ref=sqs_queue_allow_periods"
fifo_topic = true
sqs_dlq_enabled = true
fifo_queue_enabled = true
}
v0.19.2
🤖 Automatic Updates
Update context.tf @cloudpossebot (#37)
what
This is an auto-generated PR that updates the context.tf
file to the latest version from cloudposse/terraform-null-label
why
To support all the features of the context
interface.
v0.19.1
v0.19.0
Add enabled toggle @nitrocode (#36)
what
- Add enabled toggle
why
- Only if enabled=true will this module create resources
references
N/A