https://pulumi.com logo
m

mysterious-wolf-74677

11/04/2021, 9:01 PM
it only worked when I had code as:
Copy code
const foo = new aws.iam.User('foo', {name: 'foo'}, { import: 'foo' })
l

little-cartoon-10569

11/04/2021, 9:12 PM
Can you explain how you got
import: 'foo'
? The import ID is very specific and must match exactly. Otherwise it should error. If it didn't error, then 1) it presumably didn't import anything, and 2) is almost certainly a bug.