Skip to content

Split up yaml and terraform into service repos #49

Discussion options

You must be logged in to vote

Yes we helped a customer with this recently, but we don't have official docs on it yet. Here's a high level summary, and we can add a task to convert this into an official doc page.

Poly-Repo Strategy with account-map

Problem

You want many repositories to deploy infrastructure as code with Terraform and Atmos. However, the standard providers.tf configuration with Cloud Posse components requires account-map to dynamically select Terraform roles and target accounts.

Solution

1 - Use the infrastructure Repo for core services

  1. Use the primary infrastructure repository to deploy all accounts, Terraform state, and core services
  2. Deploy account-map here
  3. Download the account-map Terraform output t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@milldr
Comment options

milldr Mar 26, 2025
Maintainer Sponsor

Answer selected by milldr
@nitrocode
Comment options

nitrocode Apr 8, 2025
Maintainer Author

@milldr
Comment options

milldr Apr 8, 2025
Maintainer Sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants