-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support different types for outputs/inputs #678
Comments
Hi Team, I am also facing the same issue. Faced this issue while Output from another module need to be consumed in current module. If the output is string then there is no issue , but when the output is a complex data structure like list or map , then output secret is storing those in string format and also when consumed it acts as string because of which terraform gives error "Invalid Value of Input Variable" I am using TF Controller : 0.14.0 Parent Module
output.tf
Current/Child/Consumer Module
main.tf
Error |
Now that this issue is fixed, the output changed a bit. flux-system eks-dev-0 False error running Plan: rpc error: code = Internal desc = exit status 1 false 1 hour
Error: Invalid value for input variable
on generated.auto.tfvars.json line 1:
1: {"cluster_name":"***","env":"***","github_owner":"***","github_repository":"***","github_token":"***","private_subnets":"***","vpc_id":"***"}
The given value is not suitable for var.private_subnets declared at
variables.tf:19,1-27: list of string required. |
Exactly. We had to cope with sensitive information first. The the top priority. From my tests as well as your logs, the error message is still relevant and understandable, for example:
I'll address this output/input issue ASAP after the Flux v2 GA is launched. |
Resolved. |
Hi there,
I'm trying to pass a list of string from a module to another.
From my understanding this change should have fixed the issue, however in my case I get this error:
Did I miss something? Is there a parameter to add to specify the expected type?
Helm chart version: 0.12.0
tf-controller version: v0.15.0-rc.1
Regards,
The text was updated successfully, but these errors were encountered: