We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a362ac2 commit eaf80caCopy full SHA for eaf80ca
modules/azure/api_management_api_simple/main.tf
@@ -111,6 +111,12 @@ resource "azurerm_api_management_api_diagnostic" "api_diagnostic" {
111
########## API Policy ##########
112
#######################################################
113
114
+# This temporary output is used to retrieve the XML content of the API policy.
115
+output "api_policy_xml_content" {
116
+ value = azurerm_api_management_api_policy.api_policy.xml_content
117
+ description = "The XML content of the API policy."
118
+}
119
+
120
resource "azurerm_api_management_api_policy" "api_policy" {
121
api_name = azurerm_api_management_api.api.name
122
api_management_name = var.api_management_name
0 commit comments