https://pulumi.com logo
Title
c

colossal-market-93154

12/20/2021, 1:35 PM
Hi everyone! I'm trying to use
pulumi import
to import some resources from Github. Do you have any solution from that error? If not, can you point me to the source code of this command so I can write a bugfix? Related to: https://github.com/pulumi/pulumi/issues/7046 https://github.com/pulumi/pulumi-aws/issues/1368
l

limited-army-96747

12/20/2021, 1:36 PM
shouldn’ t be
"deliver:service"
with the quotes?
c

colossal-market-93154

12/20/2021, 1:41 PM
@limited-army-96747 I'm trying to import this resource from AWS, this is a tag defined there, in AWS you don't need a quote to define a tag in that way. I assume pulumi is not wrapping with quotes itself
I edited the message so you can see the issues related to it
l

limited-army-96747

12/20/2021, 1:42 PM
I know it is a tag, but usually, when you have characters like
:
or
/
you need to wrap the object key with quotes
c

colossal-market-93154

12/20/2021, 1:48 PM
ah, but not on AWS, this is not common according to the docs
l

limited-army-96747

12/20/2021, 1:49 PM
that is not aws
c

colossal-market-93154

12/20/2021, 1:49 PM
that's what I said 😄 the problem is on Pulumi's side when importing
l

limited-army-96747

12/20/2021, 1:50 PM
can you paste the code?
ah nvm, you are running a cli command
c

colossal-market-93154

12/20/2021, 1:51 PM
exactly
l

limited-army-96747

12/20/2021, 1:55 PM
did you try with `
--disable-integrity-checking
and
--skip-preview
?
that might help
c

colossal-market-93154

12/20/2021, 1:56 PM
interesting, didn't know these attributes. Second time using Pulumi 😄 but yea, it didn't help. thanks for the suggestion tho, I'm gonna explore the other options
h

high-grass-3103

12/20/2021, 1:57 PM
what's ".pp"?
c

colossal-market-93154

12/20/2021, 1:58 PM
no idea
this is an output from a CLI command:
AWS_PROFILE=staging pulumi import aws:ec2/vpc:Vpc elasticache-vpc vpc-01454ca8099ec2c88 -v
well, it seems the resource was updated even with this problem, and I could use pulumi up fine. I just didn't try that -.- thanks guys!