pulumi/tests/testdata/codegen/aws-resource-options-4.26-pp/python/aws-resource-options-4.26.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]",
]))