https://pulumi.com logo
Title
d

dry-teacher-74595

05/16/2022, 7:13 PM
the inputs to https://www.pulumi.com/registry/packages/kubernetes/api-docs/yaml/configfile/#inputs seems to be empty? is there a any documentation to see what is possible to be passed into the resource? specifically ideally i want to change the pulumi name for the resources created in the file, i have multiple clusters in 1 stack and it’s currently giving me an error saying the urn already exists.
b

brave-ambulance-98491

05/17/2022, 4:38 PM
Did you find this expando? https://www.pulumi.com/registry/packages/kubernetes/api-docs/yaml/configfile/#yaml-with-transformations There's a field called "transformations" you can use.
d

dry-teacher-74595

05/17/2022, 4:59 PM
i did, but it only talks about transforming the yaml object, is it possible to change the URN to a different one without changing the name? cuz the ALB ingress controller depends on the resource name to be the same
b

brave-ambulance-98491

05/17/2022, 5:52 PM
Ahh, I didn't read your question carefully enough. Have you tried setting
resourcePrefix
field in
ConfigFileOpts
to something? It looks like it's meant to be used for that.