You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data.juju_model.machine_model: Read complete after 0s [id=d6981ca0-0e1a-42a9-8ed4-e3c324a1dee5]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# juju_application.k8s will be created
+ resource "juju_application""k8s" {
+ config = {
+ "load-balancer-cidrs" = "10.206.54.240-10.206.54.250"
+ "load-balancer-enabled" = "true"
+ "load-balancer-l2-mode" = "true"
}
+ constraints = (known after apply)
+ endpoint_bindings = [
+ {
+ space = "management"
},
]
+ id = (known after apply)
+ model = "openstack-machines"
+ name = "k8s"
+ placement = (known after apply)
+ principal = (known after apply)
+ storage = (known after apply)
+ trust = false
+ units = 0
+ charm {
+ base = "[email protected]"
+ channel = "1.31/beta"
+ name = "k8s"
+ revision = (known after apply)
+ series = (known after apply)
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
juju_application.k8s: Creating...
WARNING terraform.py:221
Error: Provider produced inconsistent result after apply
When applying changes to juju_application.k8s, provider
"provider[\"registry.terraform.io/juju/juju\"]" produced an unexpected new
value: .charm[0].channel: was cty.StringVal("1.31/beta"), but now
cty.StringVal("1.31/candidate").
This is a bug in the provider, which should be reported in the provider's own issue tracker.
Notes & References
This is casually reporting to make sure it's documented. This might be a wanted behavior at the end of the day.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this bug. We will discuss how to address it as soon as possible, but i'm not sure much can be done in the terraform provider other than documenting this behaviour.
Description
k8s team release a 1.31/candidate, which closed 1.31/beta (not sure about relation here).
Juju automatically sets channel to 1.31/candidate when trying to use 1.31/beta. But terraform really does not like this.
Urgency
Casually reporting
Terraform Juju Provider version
0.15.1
Terraform version
1.5.7
Juju version
3.6.1
Terraform Configuration(s)
Reproduce / Test
Debug/Panic Output
Notes & References
This is casually reporting to make sure it's documented. This might be a wanted behavior at the end of the day.
The text was updated successfully, but these errors were encountered: