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 for state_push: path for statefile is reqired for run state push cmd #316

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

aav66
Copy link
Contributor

@aav66 aav66 commented Jun 16, 2022

terrafrom state push command expect statefile path.
If it not specified it will fail with "Exactly one argument expected"

documentation link: https://www.terraform.io/cli/commands/state/push#usage

@hashicorp-cla
Copy link

hashicorp-cla commented Jun 16, 2022

CLA assistant check
All committers have signed the CLA.

@aav66
Copy link
Contributor Author

aav66 commented Jun 16, 2022

go117_test_main-1 failed with panic: error installing terraform "gitref:refs/heads/main": unable to clone terraform from "https://github.com/hashicorp/terraform.git": context deadline exceeded
Just need to be restarted.

@aav66
Copy link
Contributor Author

aav66 commented Jun 16, 2022

@kmoe Cloud you review the changes and merge this fix? Thanks in advance!

Copy link
Member

@kmoe kmoe left a comment

Choose a reason for hiding this comment

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

Thanks for doing this. Even basic e2e tests would have caught this bug - my mistake in not ensuring they were added initially.

@kmoe kmoe merged commit 65b947d into hashicorp:main Jun 24, 2022
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