-
Hello, First of all, great work with this project! Is a map of objects supported as input variable? I've already tries several ways of specifying the variable, but always getting "Invalid value for input variable". If someone can point me in the right direction, it would be great! I've a terraform module with the bellow variable:
In the terraform CR , I've the following:
During the plan I'm getting the error "Invalid value for input variable"
Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
chanwit
Mar 2, 2023
Replies: 1 comment 1 reply
-
Hi @aspx apiVersion: infra.contrib.fluxcd.io/v1alpha1
kind: Terraform
metadata:
name: test
namespace: test
spec:
interval: 1m
approvePlan: auto
destroyResourcesOnDeletion: false
path: ./
sourceRef:
kind: GitRepository
name: terraform-modules-test
namespace: test
vars:
- name: heartbeats
value:
test:
name: test |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aspx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @aspx
The controller supports YAML to HCL conversion so in your case please try: