You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1388,8 +1388,9 @@ The following arguments are supported:
1388
1388
-`object_id` (Optional): The object ID of the managed identity.
1389
1389
1390
1390
A parameter block supports the following arguments:
1391
-
-`name` (Required): The run parameter name.
1392
-
-`value` (Required): The run parameter value.
1391
+
-`map_key` (Required): A unique key for the parameter within the `run_commands` map.
1392
+
-`name` (Required): The run parameter name. This should be unique for each parameter.
1393
+
-`value` (Required): The run parameter value.
1393
1394
1394
1395
A script\_uri\_managed\_identity block supports the following arguments:
1395
1396
-`client_id` (Optional): The client ID of the managed identity.
@@ -1427,10 +1428,10 @@ map(object({
1427
1428
object_id = optional(string)
1428
1429
}))
1429
1430
output_blob_uri = optional(string)
1430
-
parameters = optional(list(object({
1431
+
parameters = optional(map(object({
1431
1432
name = string
1432
1433
value = string
1433
-
})), [])
1434
+
})), {})
1434
1435
1435
1436
timeouts = optional(object({
1436
1437
create = optional(string)
@@ -1451,22 +1452,22 @@ Default: `{}`
1451
1452
Description: The `run_commands_secrets` variable defines the configuration for Virtual Machine Run Command Sensitive values. This requires that the `run_commands_secrets` map key match the `run_commands` map key.
1452
1453
The following arguments are supported:
1453
1454
1454
-
-`protected_parameters` (Optional): A list of protected\_parameter blocks as defined below. The protected parameters used by the script.
1455
-
-`run_as_password` (Optional): Specifies the user account password on the VM when executing the Virtual Machine Run Command.
1456
-
-`run_as_user` (Optional): Specifies the user account on the VM when executing the Virtual Machine Run Command.
1455
+
-`protected_parameters` (Optional): A map of protected\_parameter blocks as defined below. The protected parameters used by the script.
1456
+
-`map_key` (Required): A unique key for the parameter within the `run_commands` map.
1457
+
-`name` (Required): The run parameter name. This should be unique for each protected parameter.
1458
+
-`value` (Required): The run parameter value.
1457
1459
1458
-
A protected\_parameter block supports the following arguments:
1459
-
-`name` (Required): The run parameter name.
1460
-
-`value` (Required): The run parameter value.
1460
+
-`run_as_password` (Optional): Specifies the user account password on the VM when executing the Virtual Machine Run Command.
1461
+
-`run_as_user` (Optional): Specifies the user account on the VM when executing the Virtual Machine Run Command.
0 commit comments