https://pulumi.com logo
#general
Title
# general
d

dry-beach-58138

01/23/2024, 8:41 AM
Hi @echoing-match-29901. I have implement my Infrastructure as code using Pulumi and Python language currently, and create resource successful using AWS Classic provider, and I import a exist resource in AWS successful and successful in Pulumi stack state, but it's alwasy show an undefined variable name error message every time after imported successful exist resource, how should I debug this error ?
Copy code
Type                      Name         Status
     pulumi:pulumi:Stack       v16team-dev
 =   └─ aws:ec2:SecurityGroup  elb-to-eks   imported (12s)

Resources:
    = 1 imported
    76 unchanged

Duration: 16s

error: anonymous.pp:17,12-16: undefined variable name;
a

ancient-policeman-24615

01/23/2024, 11:40 PM
Hmm. I would suggest opening a bug report in pulumi/pulumi if you are able to reproduce the error.