Skip to content
This repository was archived by the owner on Dec 16, 2020. It is now read-only.

Commit 95c5062

Browse files
committed
Fix to address behavioral changes from latest terraform 12 patch
1 parent 58ca6bd commit 95c5062

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ defaults: &defaults
88
KUBERGRUNT_VERSION: v0.5.1
99
HELM_VERSION: v2.12.2
1010
MODULE_CI_VERSION: v0.14.1
11-
TERRAFORM_VERSION: 0.12.9
11+
TERRAFORM_VERSION: 0.12.11
1212
TERRAGRUNT_VERSION: NONE
1313
PACKER_VERSION: NONE
1414
GOLANG_VERSION: 1.11.2

modules/k8s-namespace/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ resource "kubernetes_namespace" "namespace" {
4949
module "namespace_roles" {
5050
source = "../k8s-namespace-roles"
5151

52-
namespace = kubernetes_namespace.namespace[0].id
52+
namespace = var.create_resources ? kubernetes_namespace.namespace[0].id : ""
5353
labels = var.labels
5454
annotations = var.annotations
5555

0 commit comments

Comments
 (0)