Python Pulumi AWS S3
Jump to navigation
Jump to search
Internal
Overview
import pulumi
from pulumi_aws import s3
bucket = s3.Bucket('experimental-ovidiu')
object = s3.BucketObject(
"test.txt",
bucket=bucket.id,
source=pulumi.FileAsset('./test.txt')
)
pulumi.export("bucket_name", bucket.id)