Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arti-shalb committed Apr 5, 2021
1 parent 0553ae9 commit 9b6be20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws-k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ modules:
cluster_name: {{ .name }}
cluster_domain: {{ .variables.domain }}
zone_delegation: {{ if eq .variables.domain "cluster.dev" }}true{{ else }}false{{ end }}
{{- if .variables.vpc.create }}
{{- if not .variables.vpc_id }}
-
name: vpc
type: terraform
Expand Down Expand Up @@ -68,7 +68,7 @@ modules:
- "--disable traefik"
domain: {{ remoteState "this.route53.domain" }}
k3s_version: {{ .variables.k3s_version }}
{{- if .variables.vpc.create }}
{{- if .variables.vpc_id }}
public_subnets: {{ remoteState "this.vpc.public_subnets" }}
{{- else }}
public_subnets: {{ insertYAML .variables.public_subnets }}
Expand Down

0 comments on commit 9b6be20

Please sign in to comment.