Skip to content
Discussion options

You must be logged in to vote

If your two stacks aren't in different directories, you can still configure them as separate Atlantis projects by giving each a unique name (and, if needed, workspace) in your atlantis.yaml. For example, both projects can have the same dir, but must have different name values—this is required if they share the same directory and workspace, and is enforced by Atlantis validation. This lets Atlantis manage plan/apply for each stack independently, even within the same directory. See the official example here:

projects:
  - name: stack1
    dir: app
    workflow: cdk-workflow
  - name: stack2
    dir: app
    workflow: cdk-workflow

For CDKTF, you typically distinguish stacks by the generated c…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@paymog
Comment options

@dosubot
Comment options

Answer selected by paymog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant