Skip to content

Commit

Permalink
Remove faulting property location from azapi_resource (#1053)
Browse files Browse the repository at this point in the history
<!-- markdownlint-disable first-line-h1 -->

## Overview/Summary

Corrects the property bag for the azapi_resource that creates diagnostic
settings on management groups. It doesn't support a `location` property.

## This PR fixes/adds/changes/removes

1. #1052 

### Breaking Changes

N/A

## Testing Evidence

N/A

## As part of this Pull Request I have

- [x] Checked for duplicate [Pull
Requests](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pulls)
- [x] Associated it with relevant
[issues](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/issues),
for tracking and closure.
- [x] Ensured my code/branch is up-to-date with the latest changes in
the `main`
[branch](https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/tree/main)
- [x] Performed testing and provided evidence.
- [ ] Updated relevant and associated documentation.

Co-authored-by: Matt White <[email protected]>
  • Loading branch information
SvenAelterman and matt-FFFFFF authored Aug 29, 2024
1 parent 5d87ff9 commit ea21355
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion resources.management_groups.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ resource "azapi_resource" "diag_settings" {
for_each = local.azapi_mg_diagnostics
type = "Microsoft.Insights/diagnosticSettings@2021-05-01-preview"
name = "toLA"
location = "global"
parent_id = each.key
schema_validation_enabled = false
body = {
Expand Down

0 comments on commit ea21355

Please sign in to comment.