https://pulumi.com logo
#python
Title
# python
d

dry-answer-66872

12/22/2021, 6:04 AM
Hi Team, https://www.pulumi.com/registry/packages/aws/api-docs/s3control/bucketlifecycleconfiguration/ when I try with this example, I am getting _*NameError: name 'aws_s3control_bucket' is not defined*_ Could anyone help in this regard? I am assuming here ''example' as - Lifecycle Name
Copy code
bucket=aws_s3control_bucket["example"]["arn"],   --> Bucket ARN
p

prehistoric-activity-61023

12/22/2021, 7:52 AM
I’ve noticed that many people have problems with these AWS “examples”. They just give you an idea how to use that particular resource but it’s not a fully, working code.
If you want to find some AWS examples to get familiar with pulumi check this repo: https://github.com/pulumi/examples