costBuddy icon indicating copy to clipboard operation
costBuddy copied to clipboard

Only parent account should deploy the hosted zone, since hosted zone is unique

Open avishayil opened this issue 4 years ago • 0 comments

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:

  1. Deploy costBuddy on parent account with route53 configuration
  2. Change profile to child account, and terraform deploy using the same configuration
  3. 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

avishayil avatar Jul 16 '20 11:07 avishayil