Terraform-provider-azurerm: Support for azurerm_frontdoor_firewall_policy as data source

Created on 26 Aug 2020  路  1Comment  路  Source: terraform-providers/terraform-provider-azurerm

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

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)

  • azurerm_frontdoor_firewall_policy (data source)

Potential Terraform Configuration

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

Exports:

  • Resource ID
  • Managed Ruleset Info
  • Custom ruleset info
  • etc.

References

new-data-source servicfrontdoor

Most helpful comment

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

  • azurerm_frontdoor
  • azurerm_frontdoor_custom_https_configuration
  • azurerm_frontdoor_firewall_policy

>All comments

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

  • azurerm_frontdoor
  • azurerm_frontdoor_custom_https_configuration
  • azurerm_frontdoor_firewall_policy
Was this page helpful?
0 / 5 - 0 ratings