Skip to content

Commit

Permalink
Added vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergii Lypnytskyi committed Sep 29, 2020
1 parent 1b3d26e commit 02ad362
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions app/infra/templates/template_tfvars.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cluster-name = "{{ variables.resource_name }}"
cluster_type = "{{ variables.cluster_type }}"
network_id = "{{ variables.network_id }}"
nebula_cidr_block = "{{ variables.nebula_cidr_block }}"
nebula_route_table_id = "{{ variables.nebula_route_table_id }}"
Expand All @@ -7,9 +8,12 @@ peer_vpc_id = "{{ variables.peer_vpc_id }}"
certificate_arn_ext = "{{ variables.certificate_arn_ext }}"
certificate_arn_discovery = "{{ variables.certificate_arn_discovery }}"
nodePools = {{ variables.nodePools }}
{% if variables.cluster_type %}
cluster_type = "{{ variables.cluster_type }}"
{% endif %}
{% if variables.eks_version %}
eks-version = "{{ variables.eks_version }}"
{% endif %}
{% if variables.transit_gw_id %}
transit_gw_id = "{{ variables.transit_gw_id }}"
{% endif %}
{% if variables.ops_vpc_id %}
ops_vpc_id = "{{ variables.ops_vpc_id }}"
{% endif %}

0 comments on commit 02ad362

Please sign in to comment.