https://pulumi.com logo
s

sparse-gold-10561

10/06/2021, 3:16 PM
Are there any risks in doing an
pulumi import
of a CloudFormation stack? My understanding is it just shows what code you need to add via stdout and doesn't actually add anything to the CF or Pulumi state until you actually add it to your code. Is that correct?
b

billowy-army-68599

10/06/2021, 4:02 PM
it does add to the pulumi state when you run it, but you can
pulumi state delete
before you
up
if you just want to generate the code
s

sparse-gold-10561

10/06/2021, 4:12 PM
when doing the
import
and then
up
does it then try to change the name of resource with the generated characters after
-
?
b

billowy-army-68599

10/06/2021, 4:17 PM
it shouldn't change anything at all
s

sparse-gold-10561

10/06/2021, 4:46 PM
thanks that clears things up
3 Views