costBuddy
costBuddy copied to clipboard
Only parent account should deploy the hosted zone, since hosted zone is unique
Describe the bug When deploying costBuddy, the route53 records configuration doesn't skip child accounts. Since the hosted zone is unique, it should reside on the parent account and the records shouldn't deploy on child accounts.
To Reproduce Steps to reproduce the behavior. For example:
- Deploy costBuddy on parent account with route53 configuration
- Change profile to child account, and terraform deploy using the same configuration
- It will fail due to hosted zone doesn't exist on the child account
Expected behavior Only parent account should deploy the hosted zone, so child accounts should skip this part