Open tehho opened 4 years ago
The option to alias cdn endpoints using the endpoint as a data source. We manage our dns and the teams manage the apps in cdn.
resource "azurerm_resource_group" "example" { name = "acceptanceTestResourceGroup1" location = "West US" } resource "azurerm_dns_zone" "example" { name = "mydomain.com" resource_group_name = azurerm_resource_group.example.name } resource "azurerm_dns_a_record" "apex" { name = "@" zone_name = azurerm_dns_zone.example.name resource_group_name = azurerm_dns_zone.example.resource_group_name ttl = 60 target_resource_id = data.azurerm_cdn_profile.app.id } data "azurerm_cdn_endpoint" "app" { name = "cdn-your-name-here" resource_group_name = "Group-Your-Name-Here" }
Any update on this?
Community Note
Description
The option to alias cdn endpoints using the endpoint as a data source. We manage our dns and the teams manage the apps in cdn.
New or Affected Resource(s)
Potential Terraform Configuration