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

[FEATURE] Persist -detailed-exitcode terraform flag with terrmate #2016

Open
cvr12 opened this issue Dec 19, 2024 · 0 comments
Open

[FEATURE] Persist -detailed-exitcode terraform flag with terrmate #2016

cvr12 opened this issue Dec 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cvr12
Copy link

cvr12 commented Dec 19, 2024

Is your feature request related to a problem? Please describe.
When using -detailed-exitcode for terraform plan (see terraform docs terramate when there are changes in the plan (terraform returns exit code 2) since this is non-zero

Error: one or more commands failed
> execution failed: running /opt/homebrew/bin/terraform plan -detailed-exitcode -out keikaku (in {DIRECTORY}): exit status 2

Describe the solution you'd like
Any solution that means that the outcome of running the terramate command means the terraform plan exit code is persisted so it can be used in a pipeline / script.

Describe alternatives you've considered
Tried to use --detailed-exit-code flag (seems this is only supported on generate)

Additional context
Add any other context or screenshots about the feature request here.

@cvr12 cvr12 added the enhancement New feature or request label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant