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

Break the glass requires the target path to exist #1177

Open
eparisca opened this issue Jan 15, 2024 · 0 comments
Open

Break the glass requires the target path to exist #1177

eparisca opened this issue Jan 15, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@eparisca
Copy link

If the .spec.path specified does not exist on a Terraform object, I can't break-glass. The object gets stuck on a reconcile loop:

tfctl break-glass my-tf-resources -n default
 Break the glass requested for default/my-tf-resources
Waiting: rpc error: code = Unknown desc = terraform path not found: stat /tmp/default-my-tf-resources/my-tf-code: no such file or directory
Waiting: Reconciliation in progress
Waiting: Reconciliation in progress
Waiting: Reconciliation in progress
Waiting: rpc error: code = Unknown desc = terraform path not found: stat /tmp/default-my-tf-resources/my-tf-code: no such file or directory
Waiting: Reconciliation in progress
...

I was able to work around break-glass by manually editing the .spec.path on the Terraform object to a path that exists, but does not contain the configuration:

kubectl edit terraform my-tf-resources -n default -o yaml

Thank you,

Emilio A. Parisca

@chanwit chanwit added the kind/bug Something isn't working label Mar 14, 2024
@chanwit chanwit changed the title Stuck Waiting: Reconciliation in progress Break the glass requires the target path to exist Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants