Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated api_management_api_policy for XML file explanation #3994

Merged
merged 2 commits into from
Aug 3, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updated api_management_api_policy
Added a note for those seeking to utilize `-PolicyFilePath` from https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/set-azurermapimanagementpolicy?view=azurermps-6.13.0#parameters

Tested in Azure, this works and would prevent work on implementing PolicyFilePath as another parameter.
  • Loading branch information
Logan Schmidt authored Aug 1, 2019
commit a81b1d55fe01e3ca77e4b7477e1af365fa5b1797
2 changes: 1 addition & 1 deletion website/docs/r/api_management_api_policy.html.markdown
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ The following arguments are supported:

* `resource_group_name` - (Required) The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.

* `xml_content` - (Optional) The XML Content for this Policy.
* `xml_content` - (Optional) The XML Content for this Policy as a string. Note instead of parameter for Microsoft's PolicyFilePath. xml-content can take a file by using Terraform's [file function](https://www.terraform.io/docs/configuration/functions/file.html)

* `xml_link` - (Optional) A link to a Policy XML Document, which must be publicly available.