Open hemanthnakkina opened 5 months ago
TF provider 0.11.0 is using a different deploy code path with juju >= 3.3 than juju < 3.3. This is most likely a juju bug, not terraform provider.
Added a simple terraform plan with 2 traefik instances
This already happened in terraform provider < 0.11
Description
Ran sunbeam on single node [1] and got an error in terraform plan that deploys openstack cloud [2]
The terraform logs shows the following error:
There are 2 instances of traefik charm deployed with different app names. This is intermittent and happens rarely but seems like there is race either in terraform-juju-provider or juju.
terraform provider version used: 0.11.0 juju version used: 3.4/stable (3.4.1 at the time this bug is observed)
[1] https://microstack.run/docs/single-node [2] https://github.com/canonical/sunbeam-terraform
Urgency
Casually reporting
Terraform Juju Provider version
0.11.0
Terraform version
v1.3.7
Terraform Configuration(s)
No response
Reproduce / Test
To simplify the usecase, you can take a plan with 2 instances of traefik and apply the plan traefik.tf.txt
Debug/Panic Output
No response
Notes & References
No response