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

Commit

Permalink
fix for azurerm provider 2.0 (#338)
Browse files Browse the repository at this point in the history
Co-authored-by: Yvonne Radsmikham <[email protected]>
  • Loading branch information
NathanielRose and yradsmikham authored Feb 25, 2020
1 parent b746aa3 commit d2fe3c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
spk-env/
infra-generation-pipeline.yml
2 changes: 1 addition & 1 deletion tests/infra-validations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mkdir template
cd template

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

0 comments on commit d2fe3c2

Please sign in to comment.