Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Oct 16, 2024
1 parent 60faf11 commit 46ff3ad
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/*
Note: This is a generated HCL content from the JSON input which is based on the latest API version available.
To import the resource, please run the following command:
terraform import azapi_resource.resourceGroup /subscriptions/0000000/resourceGroups/app-rg5wg5lo7sa2hxrh6bs6?api-version=2024-07-01
terraform import azapi_resource.resourceGroup /subscriptions/0000000/resourceGroups/app-rg5wg5lo7sa2hxrh6bs6?api-version=2024-03-01
Or add the below config:
import {
id = "/subscriptions/0000000/resourceGroups/app-rg5wg5lo7sa2hxrh6bs6?api-version=2024-07-01"
id = "/subscriptions/0000000/resourceGroups/app-rg5wg5lo7sa2hxrh6bs6?api-version=2024-03-01"
to = azapi_resource.resourceGroup
}
*/

resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2024-07-01"
type = "Microsoft.Resources/resourceGroups@2024-03-01"
parent_id = "/subscriptions/0000000"
name = "app-rg5wg5lo7sa2hxrh6bs6"
location = "eastus"
Expand Down

0 comments on commit 46ff3ad

Please sign in to comment.