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

Terraform module hangs in the web version #624

Closed
taskinen opened this issue Feb 17, 2024 · 3 comments
Closed

Terraform module hangs in the web version #624

taskinen opened this issue Feb 17, 2024 · 3 comments

Comments

@taskinen
Copy link
Contributor

The Terraform module hangs with the message "Acquiring state lock. This may take a few moments..." when accessed via the web version at https://svenstaro.github.io/genact/

The issue appears to be with the code, where the sleep command doesn't terminate:

print("Acquiring state lock. This may take a few moments...\r\n").await;
csleep(500).await;

Or could the problem lie with a subsequent operation that fails to execute?

The implementation of the sleep function is consistent with its use in other modules.

@svenstaro
Copy link
Owner

Oh no! Good catch. I can reproduce this on https://svenstaro.github.io/genact/?module=terraform

Would you like to take a look at this? I do admit I didn't test this in the web before merging it.

@svenstaro
Copy link
Owner

I took a few minutes to look at this and fixed it. :)

svenstaro added a commit that referenced this issue Feb 17, 2024
@taskinen
Copy link
Contributor Author

Thank you @svenstaro! Looks like it is working now!

I tried looking at it first, but I didn't know what was wrong so I opened an issue. Good work fixing it 👍

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

No branches or pull requests

2 participants