Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger a plan for a different workspaces after an apply #42

Open
adampie opened this issue Jul 28, 2024 · 0 comments
Open

Trigger a plan for a different workspaces after an apply #42

adampie opened this issue Jul 28, 2024 · 0 comments

Comments

@adampie
Copy link
Member

adampie commented Jul 28, 2024

We have a use case where a resource is created in one workspace but another workspace manages access to said resource.

Having tfbuddy automatically run a plan on the second workspace after a successful apply to the first would be ideal.

workspaces:
  - name: a_prod
    dir: prod
    triggerDirs:
      - prod/**
    triggerWorkspacePostApply:
      - a_shared

  - name: a_shared
    dir: shared
    triggerDirs:
      - shared/** 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant