Skip to content

Commit 45550ce

Browse files
committed
fix: az-storage tf module : Set default value to false for shared_access_key_enabled
1 parent 72e8f5a commit 45550ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

terraform/modules/az-acr/tests/acr_not_secure.tftest.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ run "plan" {
107107
}
108108

109109
assert {
110-
condition = azurerm_container_registry.zone_redundancy_enabled == false
110+
condition = azurerm_container_registry.acr.zone_redundancy_enabled == false
111111
error_message = "acr zone_redundancy_enabled must be set to true"
112112
}
113113

terraform/modules/az-acr/tests/acr_secure.tftest.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ run "plan" {
102102
}
103103

104104
assert {
105-
condition = azurerm_container_registry.zone_redundancy_enabled == true
105+
condition = azurerm_container_registry.acr.zone_redundancy_enabled == true
106106
error_message = "acr zone_redundancy_enabled must be set to true"
107107
}
108108

0 commit comments

Comments
 (0)