many-spring-73557
08/09/2021, 8:35 PMpulumi up
create a single resource? There is the -t
flag but my understanding is that the resource doesn’t have a URN yet, so I’m not sure what I would target.
I have some other things that would be updated with pulumi up
, and I want to make sure I only create this one thing and not run the other updates.billowy-army-68599
08/09/2021, 8:37 PMmany-spring-73557
08/09/2021, 8:40 PMpulumi up
to add it to the stack, but I don’t want pulumi to update other resources as part of (e.g. helm charts that would be updated)billowy-army-68599
08/09/2021, 9:12 PMmany-spring-73557
08/09/2021, 9:38 PMpulumi up
shows a bunch of things that would be updated. I don’t want to update them yet - I only want to create the new resource that I added to my pulumi configbillowy-army-68599
08/09/2021, 10:31 PM-t
i grabbed the urn of the resource being created using jq
but you can probably just run pulumi preview
and copy it
pulumi preview -j | jq '.steps[] | select(.op=="create") | .urn'
and then run pulumi up -t <urn>
many-spring-73557
08/09/2021, 10:43 PMpulumi preview
doesn’t provide an urn (anywhere that I can see) but -j
doesbillowy-army-68599
08/09/2021, 10:46 PMdetails
tab