breezy-butcher-78604
03/16/2021, 6:09 AMComponentResource
?
basically I have an S3 bucket inside a ComponentResource
however I now want to refactor this template and move the bucket out of the component resource, but i don't want to replace the actual resource in AWS. is this possible?
I basically removed the entire component resource from my code, copy-pasted just the bucket resource into the template. I've then set a few variations of aliases
on the resource but each time i run pulumi up
it's seeing them as two different resources. I feel like maybe i'm just not providing the right alias but just wanted to check if this was actually possiblelittle-cartoon-10569
03/16/2021, 6:14 AMpulumi stack rename
or pulumi stack rm
followed by an import.pulumi stack export
) and URNs near where you want it to end up. The changes should be fairly straightforward.rm
then import is that it's easy to add the alias at the same time.)breezy-butcher-78604
03/16/2021, 6:17 AMpulumi state rm
? i dont want to rename or remove the stack, just rename some resourceslittle-cartoon-10569
03/16/2021, 6:17 AMbreezy-butcher-78604
03/16/2021, 6:18 AMlittle-cartoon-10569
03/16/2021, 6:19 AMpulumi state delete
breezy-butcher-78604
03/16/2021, 6:19 AMlittle-cartoon-10569
03/16/2021, 6:19 AMcool-fireman-90027
03/16/2021, 12:46 PMbreezy-butcher-78604
03/16/2021, 1:05 PM