iac_modules/aws/__main__.py
2023-03-17 17:39:31 +08:00

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)