'CREATE_FAILED' on 'SecurityHub_to_AWSChatBot.yml' during creations after the 2nd time on another regions #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes:
CREATE_FAILED have been observed with Events like shown below
It does not happen when a region was the first one(assuming us-east-1 here) on a AWS accunt.
Thereafter failure then happens on further creations on another regions such as us-east-2 or whatever else.
In my understanding, since AWS Chatbot is a global service, 'SlackChannelConfig' would also not be dedicated for a particular region neither cannot be defined idempotently on CloudFormation. It simply disallows duplication. Therefore in order to deploy among multiple regions, an option should be present NOT to attempt to duplicate 'SlackChannelConfig' needlessly.
With this pr, user would unfortunately have to work additional steps as follows(if he wanted create-stack after the 2nd regions):
securityhubnotification, press Edit button on top-rightThen finally user would be able to obtain cross-region findings automatically on his slack channel.
I know this is not very smart but this is the best I could come up with for now.
If there was more reasonable way, I would like it.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.