pulumi/tests/testdata/codegen/aws-resource-options-4.26-pp/nodejs/aws-resource-options-4.26.ts

14 lines
349 B
TypeScript

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const provider = new aws.Provider("provider", {region: "us-west-2"});
const bucket1 = new aws.s3.Bucket("bucket1", {}, {
provider: provider,
dependsOn: [provider],
protect: true,
ignoreChanges: [
"bucket",
"lifecycleRules[0]",
],
});