When trying to run the cross-track upgrade CI itests, we get an error:
│ Error: Client Error
│
│ with module.cos-lite.juju_integration.ingress["alertmanager"],
│ on .terraform/modules/cos-lite/terraform/cos-lite/integrations.tf line 209, in resource "juju_integration" "ingress":
│ 209: resource "juju_integration" "ingress" {
│
│ Unable to create integration, got error: cannot add relation
│ "alertmanager:ingress traefik:ingress": relation alertmanager:ingress
│ traefik:ingress is dying, but not yet removed (already exists)
I think this is because the Terraform state for the relation used to be module.cos-lite.juju_integration.alertmanager_ingress, but is now module.cos-lite.juju_integration.ingress["alertmanager"] due to this feature:
We need to update our upgrade docs or account for this in the TF module.
When trying to run the cross-track upgrade CI itests, we get an error:
I think this is because the Terraform state for the relation used to be
module.cos-lite.juju_integration.alertmanager_ingress, but is nowmodule.cos-lite.juju_integration.ingress["alertmanager"]due to this feature:We need to update our upgrade docs or account for this in the TF module.