Terraform formatting issues on gcp deployment with gpus and premptible
@@ -39,12 +39,12 @@ module "kubernetes" {
{%- endif %}
{%- if nodegroup_config.guest_accelerators is defined %}
guest_accelerators = [
- {% for accelerator in nodegroup_config.guest_accelerators %}
+{%- for accelerator in nodegroup_config.guest_accelerators %}
{
type = "{{ accelerator.name }}"
count = {{ accelerator.count }}
- }
- {% endfor %}
+ },
+{%- endfor %}
]
{%- endif %}
},
