pulumi/tests/testdata/codegen/aws-resource-options-5.16.2-pp/python/aws-resource-options-5.16.2.py

12 lines
301 B
Python

import pulumi
import pulumi_aws as aws
provider = aws.Provider("provider", region="us-west-2")
bucket1 = aws.s3.Bucket("bucket1", opts = pulumi.ResourceOptions(provider=provider,
depends_on=[provider],
protect=True,
ignore_changes=[
"bucket",
"lifecycleRules[0]",
]))