Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrodal committed Sep 12, 2024
1 parent 297f478 commit d0598d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/modules/dns/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ resource "terraform_data" "custom_domain" {
}

provisioner "local-exec" {
command = "az containerapp hostname add --hostname ${self.input.public_hostname} -g ${self.input.resource_group_name} -n ${self.input.container_app_name}"
command = "az containerapp hostname add --hostname ${self.input.public_hostname} -g ${self.input.resource_group_name} -n ${self.input.container_app_name}"
on_failure = continue
}
provisioner "local-exec" {
command = "az containerapp hostname bind --hostname ${self.input.public_hostname} -g ${self.input.resource_group_name} -n ${self.input.container_app_name} --environment ${self.input.container_app_environment_name} --validation-method CNAME"
command = "az containerapp hostname bind --hostname ${self.input.public_hostname} -g ${self.input.resource_group_name} -n ${self.input.container_app_name} --environment ${self.input.container_app_environment_name} --validation-method CNAME"
on_failure = continue
}
provisioner "local-exec" {
when = destroy
command = "az containerapp hostname delete --hostname ${self.input.public_hostname} -g ${self.input.resource_group_name} -n ${self.input.container_app_name} --yes"
when = destroy
command = "az containerapp hostname delete --hostname ${self.input.public_hostname} -g ${self.input.resource_group_name} -n ${self.input.container_app_name} --yes"
on_failure = continue
}
}

0 comments on commit d0598d8

Please sign in to comment.