This message was deleted.
# general
s
This message was deleted.
l
Looks like an import thing:
import {Bucket} from "@pulumi/aws/s3";
, doesn't work, but
import * as aws from "@pulumi/aws";
and subsequently using aws.s3.Bucket does.
r
I think
import {s3} from "@pulumi/aws"
and then
s3.Bucket
should also work. As you’ve discovered, imports appear to only work at the top level or the module level.