11 lines
219 B
Python
11 lines
219 B
Python
"""An AWS Python Pulumi program"""
|
|
|
|
import pulumi
|
|
from pulumi_aws import s3
|
|
|
|
# Create an AWS resource (S3 Bucket)
|
|
bucket = s3.Bucket('my-bucket')
|
|
|
|
# Export the name of the bucket
|
|
pulumi.export('bucket_name', bucket.id)
|