best-horse-36919
03/15/2023, 3:11 PMechoing-dinner-19531
03/15/2023, 3:12 PMpulumi up
That will run the program and create any new resources it now declaresbest-horse-36919
03/15/2023, 3:14 PMechoing-dinner-19531
03/15/2023, 3:15 PMbest-horse-36919
03/15/2023, 3:16 PMbillions-xylophone-85957
03/15/2023, 3:16 PMpulumi import
, https://www.pulumi.com/docs/reference/cli/pulumi_import/ ?echoing-dinner-19531
03/15/2023, 3:16 PMimport
then ^^^|best-horse-36919
03/15/2023, 3:17 PMfoo:bar
applied to it. However, I somehow forgot to add tags to my pulumi code.
Will running pulumi up
remove the tag foo:bar
applied to the Lambda function?echoing-dinner-19531
03/15/2023, 3:18 PMbillions-xylophone-85957
03/15/2023, 3:19 PMignoreChanges
best-horse-36919
03/15/2023, 3:22 PMpulumi import
, but I'm afraid to run pulumi up
because of unintented changes to my resources on AWS.
Is pulumi import
trustable..?echoing-dinner-19531
03/15/2023, 3:22 PMimport
can not change anything in AWS it only does read-only operationsbillions-xylophone-85957
03/15/2023, 3:23 PMpreview
first?echoing-dinner-19531
03/15/2023, 3:23 PMup
will by default show a preview of what changes it intends to make allowing you to say No and not apply thembillions-xylophone-85957
03/15/2023, 3:23 PMimport
only changes the Pulumi state, not the actual resources (as well as refresh
)best-horse-36919
03/15/2023, 3:51 PMpulumi preview
, there are tons of changes being displayed..echoing-dinner-19531
03/15/2023, 4:56 PMbest-horse-36919
03/15/2023, 5:25 PMimport
commands from docs page, but by mistake, I imported a resource with wrong name. How can I remove this resource on pulumi stack?echoing-dinner-19531
03/15/2023, 7:40 PMpulumi state delete
https://www.pulumi.com/docs/reference/cli/pulumi_state_delete/