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
Description: This object describes the backup configuration to use for this VM instance. Provide the backup details for configuring the backup. It defaults to null.
381
386
382
387
-`<map_key>` - An arbitrary map key to avoid terraform issues with know before apply challenges
383
-
-`resource_group_name` - (Optional) - The resource group name for the resource group containing the recovery services vault. If not supplied it will default to the deployment resource group.
384
-
-`recovery_vault_name` - (Required) - The name of the recovery services vault where the backup will be stored.
385
-
-`backup_policy_resource_id`- (Optional) - Required during creation, but can be optional when the protection state is not `ProtectionStopped`.
386
-
-`exclude_disk_luns`- (Optional) - A list of Disk Logical Unit Numbers (LUN) to be excluded from VM Protection.
387
-
-`include_disk_luns` - (Optional) - A list of Disk Logical Unit Numbers (LUN) to be included for VM Protection.
388
-
-`protection_state`- (Optional) - Specifies the protection state of the backup. Possible values are `Invalid`, `Protected`, `ProtectionStopped`, `ProtectionError`, and `ProtectionPaused`.
388
+
- `recovery_vault_resource_id - (Required) - The Azure Resource ID of the recovery services vault where the backup will be stored.
389
+
-`resource\_group\_name` - (Optional) - This value is deprecated and will be removed in future versions as the RSV resource group name will be extracted from the RSV resource id. The resource group name for the resource group containing the recovery services vault. If not supplied it will default to the deployment resource group.
390
+
-`recovery\_vault\_name`- (Optional) - This value is deprecated and will be removed in future versions as the RSV information will be pulled from the RSV resource id. The name of the recovery services vault where the backup will be stored.
391
+
-`backup\_policy\_resource\_id`- (Optional) - Required during creation, but can be optional when the protection state is not `ProtectionStopped`.
392
+
-`exclude\_disk\_luns` - (Optional) - A list of Disk Logical Unit Numbers (LUN) to be excluded from VM Protection. Only one of `exclude\_disk\_luns` or `include\_disk\_luns` can be set. If both are set then only the `exclude\_disk\_luns` value will be used.
393
+
-`include\_disk\_luns` - (Optional) - A list of Disk Logical Unit Numbers (LUN) to be included for VM Protection. Only one of `exclude\_disk\_luns` or `include\_disk\_luns` can be set. If both are set then only the `exclude\_disk\_luns` value will be used.
@@ -727,6 +733,7 @@ Description: This map of objects is used to create additional `azurerm_virtual_m
727
733
-`type_handler_version` (Required) - The type handler version for the extension. A common value is 1.0.
728
734
-`auto_upgrade_minor_version` (Optional) - Set this to false to avoid automatic upgrades for minor versions on the extension. Defaults to true
729
735
-`automatic_upgrade_enabled` (Optional) - Set this to false to avoid automatic upgrades for major versions on the extension. Defaults to true
736
+
-`deploy_sequence` (Optional) - The sequence number in which the extension should be provisioned. This value allows for serialization of two extensions. Sequence numbers of 3 and higher are deployed in parallel after the first two serialized extensions. Defaults to 3 to be non-breaking for previous versions of the module.
730
737
-`failure_suppression_enabled` (Optional) - Should failures from the extension be suppressed? Possible values are true or false. Defaults to false. Operational failures such as not connecting to the VM will not be suppressed regardless of the failure\_suppression\_enabled value.
731
738
-`settings` (Optional) - The settings passed to the extension, these are specified as a JSON object in a string. Certain VM Extensions require that the keys in the settings block are case sensitive. If you're seeing unhelpful errors, please ensure the keys are consistent with how Azure is expecting them (for instance, for the JsonADDomainExtension extension, the keys are expected to be in TitleCase.)
732
739
-`protected_settings` (Optional) - The protected\_settings passed to the extension, like settings, these are specified as a JSON object in a string. Certain VM Extensions require that the keys in the protected\_settings block are case sensitive. If you're seeing unhelpful errors, please ensure the keys are consistent with how Azure is expecting them (for instance, for the JsonADDomainExtension extension, the keys are expected to be in TitleCase.)
Description: The `run_commands` variable defines the configuration for Virtual Machine Run Commands. Note that the run command configuration is split into two parts, the `run_commands` and `run_commands_secrets` variables. Ensure that the map keys match when using both variables.
1304
+
The following arguments are supported:
1305
+
1306
+
-`location` (Required): The Azure Region where the Virtual Machine Run Command should exist. Changing this forces a new Virtual Machine Run Command to be created.
1307
+
-`name` (Required): Specifies the name of this Virtual Machine Run Command. Changing this forces a new Virtual Machine Run Command to be created.
1308
+
-`source` (Required): A source block as defined below. The source of the run command script.
1309
+
-`error_blob_managed_identity` (Optional): An error\_blob\_managed\_identity block as defined below. User-assigned managed Identity that has access to errorBlobUri storage blob.
1310
+
-`error_blob_uri` (Optional): Specifies the Azure storage blob where script error stream will be uploaded.
1311
+
-`output_blob_managed_identity` (Optional): An output\_blob\_managed\_identity block as defined below. User-assigned managed Identity that has access to outputBlobUri storage blob.
1312
+
-`output_blob_uri` (Optional): Specifies the Azure storage blob where script output stream will be uploaded. It can be basic blob URI with SAS token.
1313
+
-`parameter` (Optional): A list of parameter blocks as defined below. The parameters used by the script.
1314
+
-`protected_parameter` (Optional): A list of protected\_parameter blocks as defined below. The protected parameters used by the script.
1315
+
-`tags` (Optional): A mapping of tags which should be assigned to the Virtual Machine Run Command.
1316
+
1317
+
An error\_blob\_managed\_identity block supports the following arguments:
1318
+
-`client_id` (Optional): The client ID of the managed identity.
1319
+
-`object_id` (Optional): The object ID of the managed identity.
1320
+
1321
+
An output\_blob\_managed\_identity block supports the following arguments:
1322
+
-`client_id` (Optional): The client ID of the managed identity.
1323
+
-`object_id` (Optional): The object ID of the managed identity.
1324
+
1325
+
A parameter block supports the following arguments:
1326
+
-`name` (Required): The run parameter name.
1327
+
-`value` (Required): The run parameter value.
1328
+
1329
+
A script\_uri\_managed\_identity block supports the following arguments:
1330
+
-`client_id` (Optional): The client ID of the managed identity.
1331
+
-`object_id` (Optional): The object ID of the managed identity.
1332
+
1333
+
A source block supports the following arguments:
1334
+
-`command_id` (Optional)
1335
+
-`script` (Optional)
1336
+
-`script_uri` (Optional)
1337
+
-`script_uri_managed_identity` (Optional): A script\_uri\_managed\_identity block as defined above.
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.
1378
+
The following arguments are supported:
1379
+
1380
+
-`protected_parameters` (Optional): A list of protected\_parameter blocks as defined below. The protected parameters used by the script.
1381
+
-`run_as_password` (Optional): Specifies the user account password on the VM when executing the Virtual Machine Run Command.
1382
+
-`run_as_user` (Optional): Specifies the user account on the VM when executing the Virtual Machine Run Command.
1383
+
1384
+
A protected\_parameter block supports the following arguments:
0 commit comments