You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Because this module, as well as the iam-role module, both call a resource named random.uniq, it causes any subsequent Terraform deployment to fail with a duplicate resource error.
Steps to reproduce
Deploy this module.
Check the statefile, there will be two random.uniq resources, both with different values.
Attempt to make a change and deploy again, a plan should fail with a duplicate resource error.
Expected behavior
The module should create two random resources, each with a unique name (versus the same name as it currently stands).