hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.5k stars 4.59k forks source link

Support for azurerm_frontdoor_firewall_policy as data source #8266

Open kensykora opened 3 years ago

kensykora commented 3 years ago

Community Note

Description

You can currently create azurerm_frontdoor_firewall_policy resources but there is no way to import them. Being able to import them gives opportunities to take advantage over resource sharing for multiple front door instances across different terraform applications in an enterprise scenario.

New or Affected Resource(s)

Potential Terraform Configuration

data "azurerm_frontdoor_firewall_policy" "chief_security_officer_defined_policy" {
  name                = "master-cso-policy"
  resource_group_name = "cso-rg"
}

Exports:

References

mrichards3 commented 3 years ago

Suggestion to expand the scope of this issue to implement data sources for all Azure Front Door resource types supported by this provider:

h3ct0rjs commented 2 years ago

Hi @tombuildsstuff @favoretti I'm currently writing an implementation with azurerm, just wondering if this has been implemented or in backlog, if the answer is not I will check another workaround.

Best Regards, H