Open brianmay opened 1 month ago
Hey @brianmay, thanks for reporting the issue and sorry you had trouble here.
This does indeed look like a bug and I'll transfer it to the repo which does the TF state conversion - confusingly it is not the terraform-bridge.
Thanks for opening the issue!
I'm facing a similar issue where I'm trying to import both S3 and its bucket policy, but they both share the same ID. I'm currently running an older version of Pulumi (v3.92.0) on a test VM, and it works fine with this version. However, the pipeline uses the latest version of Pulumi, which is where the issue appears. Edit: Seems like the version v3.98.0 introduced this bug.
What happened?
Trying to import my terraform state, I get the error:
Strongly suspect this is because the terraform has multiple resource types with the same id:
But this should be legal.
Example
See test case: https://github.com/brianmay/pulumi_2169
Output of
pulumi about
Additional context
I reported here because it seems to be related to terraform state, and this seems to be the project for that. Apologise if I reported the bug in the wrong place... Please do let me know if that is the case.
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).