Without a namespace set it installs all of the resources into “default”, which in this case I don’t want. I don’t think I can use Transformations either since the issue is that a namespace on most of the resources isn’t defined.
v
victorious-church-57397
09/21/2022, 10:16 PM
Can you not do a conditional transformation if the resource arguments contains namespace?
victorious-church-57397
09/21/2022, 10:17 PM
I think you can inspect the resource options when performing a transformation
b
brash-gigabyte-81569
09/22/2022, 1:50 PM
Yeah if they had a namespace set on the ones that I want to change than a transform would work, but none of the resources have one and there are cluster resources mixed in so just adding it to all is not going to work. In any case I just went ahead and created a separate provider with that namespace to get it going. I think it might be nice addition to the NewConfigFile to allow for a Namespace field
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.