From 07373247ca7da53863ab48c999cb9dc2d36a5ea3 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Tue, 12 Dec 2017 15:38:20 -0800 Subject: [PATCH] Add some Terraform variable defaults to ensure Terraform can run in CI --- plans/variables.tf | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/plans/variables.tf b/plans/variables.tf index 2d3ca78..6d5d7b8 100644 --- a/plans/variables.tf +++ b/plans/variables.tf @@ -21,8 +21,20 @@ variable "region" { # Variables which should be kept secret # and provided by a --var-file ####################################### -variable "subscription_id" {} -variable "client_id" {} -variable "client_secret" {} -variable "tenant_id" {} +variable "subscription_id" { + type = "string" + default = "invalid-subscription" +} +variable "client_id" { + type = "string" + default = "invalid-client" +} +variable "client_secret" { + type = "string" + default = "invalid-client-secret" +} +variable "tenant_id" { + type = "string" + default = "invalid-tenant-id" +} #######################################