helpful-psychiatrist-14458
01/26/2023, 9:43 PMIn this case, I need to pass the physical id of the resource's parent. I can't find any examples of "qualifying the lookup", or grok where the interface supports that behavior. This is what I think it should look like:Copy codeoptional extra properties used to qualify the lookup.
const existingEnvironment = zeet.resources.Environment.get("existing-env", existingEnvIdConfig, {
projectId: existingEnvProjectIdConfig
})
But that does not respect the interface, and the Environment.constructor(...)
implementation does not respect any EnvironmentArgs when the id
is given (see generated sdk here)
Hoping someone might be able to clarify what I am doing wrong, or if I understand incorrectly. Thanks!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.
Powered by