Skip to content
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

Input should be deeply nested inside arrays #394

Closed
lukehoban opened this issue Feb 2, 2019 · 0 comments
Closed

Input should be deeply nested inside arrays #394

lukehoban opened this issue Feb 2, 2019 · 0 comments
Assignees

Comments

@lukehoban
Copy link
Member

In the other providers, we deeply nest Input<T> through arrays, such as:

readonly tags?: pulumi.Input<pulumi.Input<string>[]>;

In the Kubernetes provider, we apparently do not, such as:

args?: pulumi.Input<string[]>

This leads to code like this not working as written (and requiring all), while it should not.

                           args: [
                                "/nginx-ingress-controller",
                                pulumi.concat("--default-backend-service=$(POD_NAMESPACE)/",  defaultBackendServiceName),
                                "--ingress-class=" + ingressClass,
                                "--report-node-internal-ip-address",
                            ],
@lukehoban lukehoban self-assigned this Feb 2, 2019
lukehoban added a commit that referenced this issue Feb 2, 2019
lukehoban added a commit that referenced this issue Feb 2, 2019
lblackstone pushed a commit that referenced this issue Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant