---
version: 1
kind: component

requires:
- terraform

parameters:
- name: hub.componentName
- name: dns.domain
- name: component.network.name
- name: component.loadBalancer
  parameters:
  - name: name
    value: "${hub.componentName}"
  - name: instanceGroup
  - name: sslCertificate
    empty: allow
  - name: backendPort
    value: 80
  - name: backendProtocol
    value: HTTP
  - name: backendHealthPath
    value: /

outputs:
- name: component.loadBalancer.externalIp
  fromTfVar: external_ip

templates:
  files: ["*.template"]
