Skip to content

Commit

Permalink
Remove schema valdation for rg (#154)
Browse files Browse the repository at this point in the history
<!-- Thank you for submitting a Pull Request. Please fill out the
template below.-->
## Overview/Summary

Replace this with a brief description of what this Pull Request fixes,
changes, etc.

## This PR fixes/adds/changes/removes

1. *Replace me*
2. *Replace me*
3. *Replace me*

### Breaking Changes

1. *Replace me*
2. *Replace me*

## Testing Evidence

Please provide any testing evidence to show that your Pull Request
works/fixes as described and planned (include screenshots, if
appropriate).

## As part of this Pull Request I have

- [ ] Checked for duplicate [Pull
Requests](https://github.com/Azure/alz-terraform-accelerator/pulls)
- [ ] Associated it with relevant
[issues](https://github.com/Azure/alz-terraform-accelerator/issues), for
tracking and closure.
- [ ] Ensured my code/branch is up-to-date with the latest changes in
the `main`
[branch](https://github.com/Azure/alz-terraform-accelerator/tree/main)
- [ ] Performed testing and provided evidence.
- [ ] Updated relevant and associated documentation.
  • Loading branch information
jaredfholgate authored Jun 28, 2024
1 parent 897f193 commit f03992c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions templates/test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,30 @@ resource "azapi_resource" "resource_group_management" {
type = "Microsoft.Resources/resourceGroups@2021-04-01"
name = "e2e-test-management-azapi-${random_string.example.result}"
location = var.resource_group_location
body = {}
body = {
properties = {}
}
schema_validation_enabled = false
}

resource "azapi_resource" "resource_group_connectivity" {
parent_id = "/subscriptions/${var.subscription_id_connectivity}"
type = "Microsoft.Resources/resourceGroups@2021-04-01"
name = "e2e-test-connectivity-azapi-${random_string.example.result}"
location = var.resource_group_location
body = {}
body = {
properties = {}
}
schema_validation_enabled = false
}

resource "azapi_resource" "resource_group_identity" {
parent_id = "/subscriptions/${var.subscription_id_identity}"
type = "Microsoft.Resources/resourceGroups@2021-04-01"
name = "e2e-test-identity-azapi-${random_string.example.result}"
location = var.resource_group_location
body = {}
body = {
properties = {}
}
schema_validation_enabled = false
}

0 comments on commit f03992c

Please sign in to comment.