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

feat: Add Atlantis autoplan for nested modules #285

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

vincenthsh
Copy link
Owner

@vincenthsh vincenthsh commented Apr 24, 2024

With this PR fogg will generate autoplan triggers based on all the modules (recursively finding nested modules) environments depend on.

Apply is updated to

  • Return the inspected modules config from applyEnvs
  • Pass all inspected module configs to new applyAtlantisConfig method recursing nested modules

This allows testing if a module exists locally in the filesystem, deprecating the need to specify local module prefixs in fogg configuration

Plan atlantis config parsing only handles globally configured autoplan triggers

With this PR fogg will generate autoplan triggers based on all the modules (recursively finding nested modules) environments depend on.

Apply is updated to

- Return the inspected modules config from applyEnvs
- Pass all inspected module configs to new applyAtlantisConfig method recursing nested modules

This allows testing if a module exists locally in the filesystem, deprecating the need to specify local module prefixs in fogg configuration

Plan atlantis config parsing only handles globally configured autoplan triggers
@vincenthsh vincenthsh changed the title feat nested modules feat: Add Atlantis autoplan for nested modules Apr 24, 2024
@vincenthsh vincenthsh merged commit 2b6d6ee into feat-multi-module-components Apr 24, 2024
4 of 5 checks passed
@vincenthsh vincenthsh deleted the feat-nested-modules branch April 24, 2024 07:37
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

Successfully merging this pull request may close these issues.

1 participant