Skip to content

Commit

Permalink
fix incorrect azapi mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Mar 5, 2025
1 parent a0e85a9 commit a034653
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
46 changes: 23 additions & 23 deletions policy/checkov/azurerm/ACRAdminAccountDisabled.azapi.mock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
"resource_changes": [
{
"address": "azapi_resource.res",
"changes": {
"mode": "managed",
"name": "res",
"type": "azapi_resource",
"change": {
"actions": [
"create"
],
"after": {
"body": {
"properties": {
"adminUserEnabled": false
},
"type": "Microsoft.ContainerRegistry/registries/2023-11-01-preview"
}
},
"mode": "managed",
"name": "res",
"type": "azapi_resource"
}
},
"type": "Microsoft.ContainerRegistry/registries@2023-11-01-preview"
}
}
}
]
Expand All @@ -27,18 +27,18 @@
"resource_changes": [
{
"address": "azapi_resource.res",
"changes": {
"mode": "managed",
"name": "res",
"type": "azapi_resource",
"change": {
"actions": [
"create"
],
"after": {
"body": {
"type": "Microsoft.ContainerRegistry/registries/2023-11-01-preview"
}
},
"mode": "managed",
"name": "res",
"type": "azapi_resource"
},
"type": "Microsoft.ContainerRegistry/registries@2023-11-01-preview"
}
}
}
]
Expand All @@ -47,21 +47,21 @@
"resource_changes": [
{
"address": "azapi_resource.res",
"changes": {
"mode": "managed",
"name": "res",
"type": "azapi_resource",
"change": {
"actions": [
"create"
],
"after": {
"body": {
"properties": {
"adminUserEnabled": true
},
"type": "Microsoft.ContainerRegistry/registries/2023-11-01-preview"
}
},
"mode": "managed",
"name": "res",
"type": "azapi_resource"
}
},
"type": "Microsoft.ContainerRegistry/registries@2023-11-01-preview"
}
}
}
]
Expand Down
6 changes: 3 additions & 3 deletions test.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
{
"address": "azapi_resource.res",
"mode": "managed",
"type": "azapi_resource",
"name": "res",
"provider_name": "registry.terraform.io/azure/azapi",
"type": "azapi_resource",
"change": {
"actions": [
"create"
],
"after": {
"body": {
"properties": {
"adminUserEnabled": true
}
},
"type": "Microsoft.ContainerRegistry/registries@2024-11-01-preview"
"type": "Microsoft.ContainerRegistry/registries@2023-11-01-preview"
}
}
}
Expand Down

0 comments on commit a034653

Please sign in to comment.