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

remove colored output from terraform by default #1589

Merged
merged 1 commit into from
Apr 15, 2023

Conversation

artificial-intelligence
Copy link
Contributor

@artificial-intelligence artificial-intelligence commented Apr 14, 2023

I was told this is an issue in our log output, for example here:

https://logs.services.betacloud.xyz/periodic-daily/github.com/osism/testbed/main/testbed-deploy/75b3979/job-output.txt

this can be overridden by overwriting TF_CLI_ARGS

see the upstream docs for details:

https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_cli_args-and-tf_cli_args_name

if some subcommand does not support this feature, this is considered
a bug and should be reported, according to this message:

hashicorp/terraform#15264 (comment)

Signed-off-by: Sven Kieske kieske@osism.tech

I was told this is an issue in our log output, for example here:

https://logs.services.betacloud.xyz/periodic-daily/github.com/osism/testbed/main/testbed-deploy/75b3979/job-output.txt

this can be overriden by overwriting TF_CLI_ARGS

see the upstream docs for details:

https://developer.hashicorp.com/terraform/cli/config/environment-variables#tf_cli_args-and-tf_cli_args_name

if some subcommand does not support this feature, this is considered
a bug and should be reported, according to this message:

hashicorp/terraform#15264 (comment)

Signed-off-by: Sven Kieske <kieske@osism.tech>
@tibeer
Copy link
Contributor

tibeer commented Apr 14, 2023

Let's wait for the pipeline to finish

@osfrickler osfrickler merged commit 163d1a1 into main Apr 15, 2023
@osfrickler osfrickler deleted the feature/disable_terraform_colored_output branch April 15, 2023 09:28
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.

3 participants