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.
Description
This is to remove old IAM resources that do not have the region name suffixes. Moved new resources in
iam-new.tf
intomain.tf
to consolidate.See also changes to cloudwatch log group in comments. Using later aws provider versions has changed arn of cloudwatch logs.
Test
Applied in dev to confirm appropriate resources are destroyed and that the cloudwatch changes are accurate (note that this means bumping aws provider version to v3 in app repo using this module).
To Do
Once cutover to the new IAM instance profile is completed for all RMQ launch configurations, update source ref of rmq module in CMW to the hash of this commit. Also bump aws provider version to >3. This will be at least another 1.5 to 2 weeks out.