diff --git a/.automation/test/terraform/good/terraform_good_2.tf b/.automation/test/terraform/good/terraform_good_2.tf index e62ab84c598..2a1ea3d316e 100644 --- a/.automation/test/terraform/good/terraform_good_2.tf +++ b/.automation/test/terraform/good/terraform_good_2.tf @@ -27,6 +27,10 @@ resource "azurerm_storage_account" "example" { tags = { environment = "staging" } + + lifecycle { + prevent_destroy = true + } } resource "random_id" "suffix" { diff --git a/TEMPLATES/.tflint.hcl b/TEMPLATES/.tflint.hcl index 6f3b75d8ded..5028e34845c 100644 --- a/TEMPLATES/.tflint.hcl +++ b/TEMPLATES/.tflint.hcl @@ -12,7 +12,7 @@ plugin "terraform" { plugin "azurerm" { enabled = true - version = "0.29.0" + version = "0.30.0" source = "github.com/terraform-linters/tflint-ruleset-azurerm" }