-
Notifications
You must be signed in to change notification settings - Fork 147
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
rover 'state rm': state file not found #292
Comments
Hi there o/ I forget to precise that i've made little enhancement on rover's scripts to be able to manage the - rover/rover.sh
- rover/tfstate_azurerm.sh
You could notice that I add Thanks! |
Here is a proposal for a clean 'patch' for tfstate_azurerm.sh. rover/rover.sh
tfstate_azurerm.sh
@LaurentLesle I was thinking to make a pull request on the branch concerning aztfmod/rover:1.0.7-2109.2410 but I cannot find the matching info? |
Hi Jason!
In your rover command line, you specified the resources address right?
Thx,
Greg
…----- Mail original -----
De: "Jason Dossett" ***@***.***>
À: "aztfmod/rover" ***@***.***>
Cc: "Gregory ESNAUD" ***@***.***>, "Mention" ***@***.***>
Envoyé: Jeudi 26 Janvier 2023 16:53:42
Objet: Re: [aztfmod/rover] rover 'state rm': state file not found (Issue #292)
@gesnaud When I try your changes above, I get "At least one address is required." It doesn't look like the address is being included in the command call:
running terraform state rm -state=/home/vscode/.terraform.cache/sepazcafenv/rover_jobs/20230126154929728220187/tfstates/level3/tfstate/lz_common_subscriptions.tfstate
Usage: terraform [global options] state rm [options] ADDRESS...
Did I miss something?
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you were mentioned. Message ID: <aztfmod/rover/issues/292/1405218660 @ github . com>
|
I did not but I quickly figured out that’s what I was doing wrong which is why I deleted the question. :)
Thanks for the patch, it was very helpful!
On Jan 27, 2023, at 4:48 AM, Gregory ESNAUD ***@***.***> wrote:
Hi Jason!
In your rover command line, you specified the resources address right?
Thx,
Greg
…----- Mail original -----
De: "Jason Dossett" ***@***.***>
À: "aztfmod/rover" ***@***.***>
Cc: "Gregory ESNAUD" ***@***.***>, "Mention" ***@***.***>
Envoyé: Jeudi 26 Janvier 2023 16:53:42
Objet: Re: [aztfmod/rover] rover 'state rm': state file not found (Issue #292)
@gesnaud When I try your changes above, I get "At least one address is required." It doesn't look like the address is being included in the command call:
running terraform state rm -state=/home/vscode/.terraform.cache/sepazcafenv/rover_jobs/20230126154929728220187/tfstates/level3/tfstate/lz_common_subscriptions.tfstate
Usage: terraform [global options] state rm [options] ADDRESS...
Did I miss something?
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you were mentioned. Message ID: <aztfmod/rover/issues/292/1405218660 @ github . com>
—
Reply to this email directly, view it on GitHub<#292 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU2J37YHQC6AWCNXK76NQFTWUOKVTANCNFSM6AAAAAASKN36BE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Great :)
Have a nice day!
…----- Mail original -----
De: "Jason Dossett" ***@***.***>
À: "aztfmod/rover" ***@***.***>
Cc: "Gregory ESNAUD" ***@***.***>, "Mention" ***@***.***>
Envoyé: Vendredi 27 Janvier 2023 11:51:54
Objet: Re: [aztfmod/rover] rover 'state rm': state file not found (Issue #292)
I did not but I quickly figured out that’s what I was doing wrong which is why I deleted the question. :)
Thanks for the patch, it was very helpful!
On Jan 27, 2023, at 4:48 AM, Gregory ESNAUD ***@***.***> wrote:
Hi Jason!
In your rover command line, you specified the resources address right?
Thx,
Greg
----- Mail original -----
De: "Jason Dossett" ***@***.***>
À: "aztfmod/rover" ***@***.***>
Cc: "Gregory ESNAUD" ***@***.***>, "Mention" ***@***.***>
Envoyé: Jeudi 26 Janvier 2023 16:53:42
Objet: Re: [aztfmod/rover] rover 'state rm': state file not found (Issue #292)
@gesnaud When I try your changes above, I get "At least one address is required." It doesn't look like the address is being included in the command call:
running terraform state rm -state=/home/vscode/.terraform.cache/sepazcafenv/rover_jobs/20230126154929728220187/tfstates/level3/tfstate/lz_common_subscriptions.tfstate
Usage: terraform [global options] state rm [options] ADDRESS...
Did I miss something?
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you were mentioned. Message ID: <aztfmod/rover/issues/292/1405218660 @ github . com>
—
Reply to this email directly, view it on GitHub<#292 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AU2J37YHQC6AWCNXK76NQFTWUOKVTANCNFSM6AAAAAASKN36BE>.
You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub , or unsubscribe .
You are receiving this because you were mentioned. Message ID: <aztfmod/rover/issues/292/1406332714 @ github . com>
|
Hello,
I'm facing an issue when trying to make a
state rm
in rover command:And the result is a
state file was found!
error message::But a
state show
is working fine:And the result is:
My questions are:
state rm
a rover's bug?state list
orstate show
are working?state show/list
?My environment
The text was updated successfully, but these errors were encountered: