Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit d2fe3c2

Browse files
fix for azurerm provider 2.0 (#338)
Co-authored-by: Yvonne Radsmikham <[email protected]>
1 parent b746aa3 commit d2fe3c2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
spk-env/
2+
infra-generation-pipeline.yml

tests/infra-validations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ mkdir template
7171
cd template
7272

7373
# Configure Validation Terraform files
74-
tfTemplate=$'resource "azurerm_resource_group" "example"{\n name= "${var.rg_name}"\n location = "${var.rg_location}"\n}'
74+
tfTemplate=$'provider "azurerm" {\n features {}\n}\nresource "azurerm_resource_group" "example"{\n name= "${var.rg_name}"\n location = "${var.rg_location}"\n}'
7575
tfVars=$'variable "rg_name" {\n type = "string"\n}\n\nvariable "rg_location" {\n type = "string"\n}\n'
7676
backendTfVars=$'storage_account_name="<storage account name>"'
7777
touch main.tf variables.tf backend.tfvars

0 commit comments

Comments
 (0)