-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tf-module:push-notifications] Dedup logic and SNS platform app resou…
…rces This changeset unifies both platform resources. This is possible because TF - for once - behaves as expected and drops a resource attribute that is set to 'null'. This also helps to deduplicate the logic that is used to massage the app lists inputs to cope with 'for_each'. Allow the list of apps to not being set. Because this is now allowed, the overall existence of any application is used as indicator to figure out whether the IAM policy has to be created or not.
- Loading branch information
Showing
3 changed files
with
45 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 38 additions & 39 deletions
77
terraform/modules/aws-gundeck-push-notifications/resources.sns.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters