Skip to content

Commit da7b45c

Browse files
authored
215 avm module issue backup protection fails if you do not pass backup config rg name (#222)
* Change backup resource group to VM RG to fix issue when backup vault is in a different RG from the VM
1 parent 88bad4d commit da7b45c

40 files changed

Lines changed: 592 additions & 82 deletions

File tree

.github/workflows/docs-check.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ Description: This object describes the backup configuration to use for this VM i
440440

441441
- `<map_key>` - An arbitrary map key to avoid terraform issues with know before apply challenges
442442
- `recovery_vault_resource_id - (Required) - The Azure Resource ID of the recovery services vault where the backup will be stored.
443-
- `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.
443+
- `resource\_group\_name` - (Optional) - This value is deprecated and will be removed in future versions as the VM resource group name will be used.
444444
- `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.
445445
- `backup\_policy\_resource\_id` - (Optional) - Required during creation, but can be optional when the protection state is not `ProtectionStopped`.
446446
- `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.

examples/linux_default/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ provider "azurerm" {
4646
4747
module "naming" {
4848
source = "Azure/naming/azurerm"
49-
version = "~> 0.4"
49+
version = "0.4.2"
5050
}
5151
5252
module "regions" {
@@ -287,7 +287,7 @@ Version: =0.10.0
287287

288288
Source: Azure/naming/azurerm
289289

290-
Version: ~> 0.4
290+
Version: 0.4.2
291291

292292
### <a name="module_natgateway"></a> [natgateway](#module\_natgateway)
293293

examples/linux_default/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ provider "azurerm" {
2727

2828
module "naming" {
2929
source = "Azure/naming/azurerm"
30-
version = "~> 0.4"
30+
version = "0.4.2"
3131
}
3232

3333
module "regions" {

examples/linux_ubuntu_w_ssh_auth/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ provider "azurerm" {
5454
5555
module "naming" {
5656
source = "Azure/naming/azurerm"
57-
version = "~> 0.4"
57+
version = "0.4.2"
5858
}
5959
6060
module "regions" {
@@ -451,7 +451,7 @@ Version: =0.10.0
451451

452452
Source: Azure/naming/azurerm
453453

454-
Version: ~> 0.4
454+
Version: 0.4.2
455455

456456
### <a name="module_natgateway"></a> [natgateway](#module\_natgateway)
457457

examples/linux_ubuntu_w_ssh_auth/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ provider "azurerm" {
3131

3232
module "naming" {
3333
source = "Azure/naming/azurerm"
34-
version = "~> 0.4"
34+
version = "0.4.2"
3535
}
3636

3737
module "regions" {

examples/linux_ubuntu_with_autogen_password/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ provider "azurerm" {
4848
4949
module "naming" {
5050
source = "Azure/naming/azurerm"
51-
version = "~> 0.4"
51+
version = "0.4.2"
5252
}
5353
5454
module "regions" {
@@ -320,7 +320,7 @@ Version: =0.10.0
320320

321321
Source: Azure/naming/azurerm
322322

323-
Version: ~> 0.4
323+
Version: 0.4.2
324324

325325
### <a name="module_natgateway"></a> [natgateway](#module\_natgateway)
326326

examples/linux_ubuntu_with_autogen_password/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ provider "azurerm" {
2727

2828
module "naming" {
2929
source = "Azure/naming/azurerm"
30-
version = "~> 0.4"
30+
version = "0.4.2"
3131
}
3232

3333
module "regions" {

examples/linux_ubuntu_with_plaintext_password/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ provider "azurerm" {
4848
4949
module "naming" {
5050
source = "Azure/naming/azurerm"
51-
version = "~> 0.4"
51+
version = "0.4.2"
5252
}
5353
5454
module "regions" {
@@ -324,7 +324,7 @@ Version: =0.10.0
324324

325325
Source: Azure/naming/azurerm
326326

327-
Version: ~> 0.4
327+
Version: 0.4.2
328328

329329
### <a name="module_natgateway"></a> [natgateway](#module\_natgateway)
330330

examples/linux_ubuntu_with_plaintext_password/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ provider "azurerm" {
2727

2828
module "naming" {
2929
source = "Azure/naming/azurerm"
30-
version = "~> 0.4"
30+
version = "0.4.2"
3131
}
3232

3333
module "regions" {

0 commit comments

Comments
 (0)