Skip to content

Commit

Permalink
Merge pull request #1 from quantum-sec/feature/EN-463
Browse files Browse the repository at this point in the history
EN-463: Add AWS provider in terraform validate hook
  • Loading branch information
lukiffer authored Mar 24, 2021
2 parents ef85c3e + 857dd98 commit b16dd3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hooks/terraform-validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ function main() {
if [ -n "$azurerm_provider_version" ]; then
cat << EOF > provider.tf
provider "azurerm" {
version = "$azurerm_provider_version"
features {}
}
provider "aws" {
region = "us-east-1"
}
EOF
fi
terraform init -backend=false
Expand Down

0 comments on commit b16dd3a

Please sign in to comment.