Skip to content

Commit

Permalink
Read from data
Browse files Browse the repository at this point in the history
  • Loading branch information
russdaygh committed Apr 25, 2024
1 parent 10e24ee commit e430893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/blazor_client.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ data "cloudflare_zone" "dns_zone" {
}

resource "cloudflare_record" "example" {
zone_id = cloudflare_zone.dns_zone.id
zone_id = data.cloudflare_zone.dns_zone.id
name = local.subdomain
value = azurerm_static_web_app.blazor-client.default_host_name
type = "CNAME"
Expand Down

0 comments on commit e430893

Please sign in to comment.