From a39f70e47af6ab39a42d2272fbd7252137b2d2f5 Mon Sep 17 00:00:00 2001 From: hezijie Date: Sat, 14 Sep 2024 13:51:29 +0800 Subject: [PATCH] set prevent_deletion_if_contains_resources to false --- quickstart/201-vmss-packer-jumpbox/main.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quickstart/201-vmss-packer-jumpbox/main.tf b/quickstart/201-vmss-packer-jumpbox/main.tf index e33d7cf30..08602b5fa 100644 --- a/quickstart/201-vmss-packer-jumpbox/main.tf +++ b/quickstart/201-vmss-packer-jumpbox/main.tf @@ -27,7 +27,11 @@ terraform { } provider "azurerm" { - features {} + features { + resource_group { + prevent_deletion_if_contains_resources = false + } + } } resource "random_pet" "id" {}