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

Support -lock for "console" command #35308

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phyzical
Copy link

@phyzical phyzical commented Jun 7, 2024

Simply align console command to plan and apply ect allow lock to be disabled.

My usecase is to generate template files given a json blob without locking the context.

Fixes #23655

Target Release

next once merged?

Draft CHANGELOG entry

ENHANCEMENTS

  • added abuility to provide -lock=boolean to terraform console

image
image

Copy link

hashicorp-cla-app bot commented Jun 7, 2024

CLA assistant check
All committers have signed the CLA.

@phyzical
Copy link
Author

phyzical commented Jun 7, 2024

im not sure what todo in regards to the tests, as the existing tests for command dont seem to test arguments.

if you have an easy ref ill give it a go

@crw
Copy link
Collaborator

crw commented Jun 10, 2024

Thanks for this submission!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terraform console creates a lock that does not go away before it's closed
2 participants