terraform plan and terraform apply hang forever, with these logs:
2024-05-08T10:32:10.797Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/juju/juju\"] (close)" is waiting for "juju_application.autopkgtest-web (expand)"
2024-05-08T10:32:10.797Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/juju/juju\"] (close)"
2024-05-08T10:32:10.810Z [TRACE] dag/walk: vertex "juju_application.autopkgtest-web (expand)" is waiting for "provider[\"registry.terraform.io/juju/juju\"]"
2024-05-08T10:32:15.798Z [TRACE] dag/walk: vertex "root" is waiting for "provider[\"registry.terraform.io/juju/juju\"] (close)"
2024-05-08T10:32:15.798Z [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/juju/juju\"] (close)" is waiting for "juju_application.autopkgtest-web (expand)"
2024-05-08T10:32:15.811Z [TRACE] dag/walk: vertex "juju_application.autopkgtest-web (expand)" is waiting for "provider[\"registry.terraform.io/juju/juju\"]"
changing the provider version to 0.8.0, makes this hanging stop happening. terraform plan fails in this case, as this specific config is bunk, but the hanging no longer happens.
Description
Please find the
.tf
file attached!terraform plan
andterraform apply
hang forever, with these logs:changing the provider version to
0.8.0
, makes this hanging stop happening.terraform plan
fails in this case, as this specific config is bunk, but the hanging no longer happens.Here's a link to the charm in question: https://charmhub.io/ubuntu-release-autopkgtest-web
My apologies if this bug isn't verbose enough. I'm new to terraform, and the juju provider but was told I should report this here :)
Urgency
Casually reporting
Terraform Juju Provider version
Terraform version
Terraform version: 1.8.2 dev
Juju version
agent-version: 2.9.44, deb-version: 2.9.49-ubuntu-amd64, controller-model-version is unauthorised.
Terraform Configuration(s)
Reproduce / Test
Debug/Panic Output
No response
Notes & References
No response