version: 1
kind: component
meta:
  name: cloud-nat

requires:
  - terraform

parameters:
  - name: component.cloudNat
    parameters:
      - name: name
        env: TF_VAR_name
      - name: network
        env: TF_VAR_network

outputs:
  - name: component.cloudNat.routerName
    fromTfVar: router_name
