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

Added nullstone iac test command #198

Merged
merged 10 commits into from
Oct 18, 2024
Merged

Added nullstone iac test command #198

merged 10 commits into from
Oct 18, 2024

Conversation

BSick7
Copy link
Contributor

@BSick7 BSick7 commented Oct 18, 2024

This PR adds the nullstone iac test command which allows a developer to verify their IaC file before pushing and running through a gitops workflow.

Example:

nullstone iac test --stack=core --env=prod

This reports validation errors with the IaC files and provides a high-level summary changes that will happen to the specified environment.

Specifically, this command:

  1. Discovers IaC files in a repo (based on the executing directory)
  2. Processes the IaC files (parse, resolve, validate, normalize)
  3. Applies changes to a local copy of the workspace config

@BSick7 BSick7 requested a review from ssickles October 18, 2024 13:51
@BSick7 BSick7 merged commit 271b9a4 into master Oct 18, 2024
@BSick7 BSick7 deleted the f/123/iac-test branch October 18, 2024 16:18
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