From 7190ba4114a50ad6114e33408b925b264d85affa Mon Sep 17 00:00:00 2001 From: romanprog Date: Mon, 5 Apr 2021 13:02:00 +0000 Subject: [PATCH] fix --- aws-k3s.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws-k3s.yaml b/aws-k3s.yaml index 054d3da..99ea003 100644 --- a/aws-k3s.yaml +++ b/aws-k3s.yaml @@ -69,9 +69,9 @@ modules: domain: {{ remoteState "this.route53.domain" }} k3s_version: {{ .variables.k3s_version }} {{- if .variables.vpc_id }} - public_subnets: {{ remoteState "this.vpc.public_subnets" }} - {{- else }} public_subnets: {{ insertYAML .variables.public_subnets }} + {{- else }} + public_subnets: {{ remoteState "this.vpc.public_subnets" }} {{- end }} key_name: {{ remoteState "this.aws_key_pair.this_key_pair_key_name" }} region: {{ .variables.region }}