Outputs
Each Terraform run will create a secret to hold the outputs defined in the Terraform object. You can specify outputs as follows:
apiVersion: run.terraform-operator.io/v1alpha1
kind: Terraform
...
spec:
...
outputs:
- key: my_id
moduleOutputName: id
The output key
will be the secret key that will hold the value. The moduleOutputName
is the output name from your Terraform module