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

fix: Make CDKTF_LOG_FILE_DIRECTORY a common flag available on all commands #3495

Merged
merged 4 commits into from
Feb 19, 2024

Conversation

mutahhir
Copy link
Member

Related issue

Fixes #3489

Description

We were using CDKTF_LOG_FILE_DIRECTORY within our logger, but we never made it into a supported CLI flag. CDKTF configures yargs in a way that all environment variables with the CDKTF_ prefix are treated as CLI flags. For commands that had strict enabled, that means that setting any non-supported flag with the CDKTF_ prefix would cause the command to fail. This PR now adds support for this flag and it should work across all commands.

Copy link
Contributor

@DanielMSchmidt DanielMSchmidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is certainly an interesting issue :D

Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants