Skip to content

Commit

Permalink
EN-463: Add AWS provider in terraform validation hook
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanshumarwah committed Mar 23, 2021
1 parent ef85c3e commit 857dd98
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 857dd98

Please sign in to comment.