it only worked when I had code as: ```const foo = ...
# typescript
m
it only worked when I had code as:
Copy code
const foo = new aws.iam.User('foo', {name: 'foo'}, { import: 'foo' })
l
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.