From 0ad42d3b7d383c77fd15fef5d3f62847a8a81c05 Mon Sep 17 00:00:00 2001 From: Stepan Stipl Date: Wed, 17 Apr 2019 12:26:12 +0100 Subject: [PATCH] GPII-3841: Add missing provider definition --- gcp/modules/gpii-flowmanager/main.tf | 5 +++++ gcp/modules/gpii-preferences/main.tf | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcp/modules/gpii-flowmanager/main.tf b/gcp/modules/gpii-flowmanager/main.tf index b14be1b3..fa38b4dd 100644 --- a/gcp/modules/gpii-flowmanager/main.tf +++ b/gcp/modules/gpii-flowmanager/main.tf @@ -27,6 +27,11 @@ variable "secret_couchdb_admin_username" {} variable "secret_couchdb_admin_password" {} +provider "google" { + project = "${var.project_id}" + credentials = "${var.serviceaccount_key}" +} + data "template_file" "flowmanager_values" { template = "${file("values.yaml")}" diff --git a/gcp/modules/gpii-preferences/main.tf b/gcp/modules/gpii-preferences/main.tf index ecfb5a55..8804944f 100644 --- a/gcp/modules/gpii-preferences/main.tf +++ b/gcp/modules/gpii-preferences/main.tf @@ -27,6 +27,11 @@ variable "secret_couchdb_admin_username" {} variable "secret_couchdb_admin_password" {} +provider "google" { + project = "${var.project_id}" + credentials = "${var.serviceaccount_key}" +} + data "template_file" "preferences_values" { template = "${file("values.yaml")}"