generated from Azure/terraform-azurerm-avm-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathmain.runcommand.tf
More file actions
21 lines (18 loc) · 935 Bytes
/
main.runcommand.tf
File metadata and controls
21 lines (18 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* TODO: Determine if we want to add run command functionality
#Get the list of previously executed run commands
data "azapi_resource_list" "avs_run_command_executions" {
parent_id = azapi_resource.this_private_cloud.id
type = "Microsoft.AVS/privateClouds/scriptExecutions@2023-03-01"
response_export_values = ["value"]
}
#get a list of the current Microsoft Runcommands
data "azapi_resource_list" "valid_run_commands_microsoft_avs" {
parent_id = "${azapi_resource.this_private_cloud.id}/scriptPackages/Microsoft.AVS.Management@*"
type = "Microsoft.AVS/privateClouds/scriptPackages/scriptCmdlets@2023-03-01"
response_export_values = ["value"]
}
#Generate a list of indexes for the current known run commands. Set the index to 0 if the run command doesn't have a current run
locals {
}
#TODO: Add a general resource for processing additional run commands?
*/