Skip to content

Commit

Permalink
provider name?
Browse files Browse the repository at this point in the history
  • Loading branch information
SK1Y101 committed Jun 17, 2024
1 parent 9437984 commit 1bd5831
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cloud/etc/deploy-virtual-ip/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ terraform {

}

provider "juju" {}
provider "juju" {
alias = "haproxy"
}

data "juju_model" "machine_model" {
name = var.machine_model
Expand All @@ -46,7 +48,7 @@ resource "juju_application" "keepalived" {
}

resource "juju_relation" "haproxy_keepalived" {
provider = juju_application.haproxy.name
provider = juju.haproxy.name
requirer = juju_application.keepalived.name
}

Expand Down

0 comments on commit 1bd5831

Please sign in to comment.