:wave: Hi everyone! I am new to pulumi, I just sta...
# general
c
👋 Hi everyone! I am new to pulumi, I just started playing with it by converting the existing terraform templates into go. I am facing some random issue while converting
Copy code
tf2pulumi --target-language go
error: rpc error: code = Unimplemented desc = GetSchema is not yet implemented
e
Looks like that's using a provider plugin that hasn't been updated to support GetSchema yet. What terraform resources is this trying to covnert?
c
terraform - v0.14.11
e
What type of resources, e.g. aws, azure?
c
aws - trying to convert some basic resources like ec2 and rds from terraform to pulumi
e
aws provider should support GetSchema. What does "pulumi plugin ls" show?
c
Copy code
NAME       KIND      VERSION  SIZE    INSTALLED    LAST USED
aws        resource  5.14.0   418 MB  1 day ago    1 day ago
terraform  resource  5.6.6    85 MB   4 hours ago  3 hours ago
TOTAL plugin cache size: 503 MB
e
Ah it's the terraform plugin there. Looks like that's not updated yet. Can you raise an issue at https://github.com/pulumi/pulumi-terraform/issues with that error message and comment that you we're trying to use it with tf2pulumi
c
sure,
do we have any temporary resolutions for now
e
If you can remove any StateReference from the terraform code the remaining aws resources should convert ok
c
oh. let me try that
now, I am facing the below issue
Copy code
Duplicate resource URN 'urn:pulumi:dev::awsBase-Pulumi::pulumi:pulumi:Stack::awsBase-Pulumi-dev'; try giving it a unique name
[1:56 AM] this is my code structure
Copy code
- aws
   - resources
     s3.go
     vpc.go
   - main.go ( calling s3 and vpc)
   - go.sum
   - go.mod
   - pulumi.yaml