Closed YusDyr closed 10 months ago
The same issue was here: https://github.com/terraform-aws-modules/terraform-aws-dms/issues/32
Please read the docs - the exact names shown are required by DMS
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Instead of use predefined IAM names which could lead to confusing when there are few projects in the same AWS account, I suggest to use
name_prefix
to generate unique per-project names for these resources.Motivation and Context
Imagine you create more than 1 project in a AWS account. Currently, because IAM resources have hardcoded names, it's impossible to make multiple projects - you'll have an error "such aws resource already exists". With proposed changes, we eliminate the issue.
Breaking Changes
It breaks backwards compatibility just in terms of recreate IAM resources with new names.
How Has This Been Tested?
examples/*
to demonstrate and validate my change(s)examples/*
projectspre-commit run -a
on my pull request