diff --git a/aws-cs-assume-role/README.md b/aws-cs-assume-role/README.md
index 32ae71f55..1e7b66444 100644
--- a/aws-cs-assume-role/README.md
+++ b/aws-cs-assume-role/README.md
@@ -54,7 +54,7 @@ directory, replacing `{YOUR_STACK_PATH/assume-role-create}` with the full name o
```bash
$ cd assume-role
-$ npm install
+$ pulumi install
$ export AWS_ACCESS_KEY_ID="$(pulumi stack output --stack {YOUR_STACK_PATH/assume-role-create} accessKeyId)"
$ export AWS_SECRET_ACCESS_KEY="$(pulumi stack output --stack {YOUR_STACK_PATH/assume-role-create} --show-secrets secretAccessKey)"
```
diff --git a/aws-cs-assume-role/assume-role/AssumeRoleStack.cs b/aws-cs-assume-role/assume-role/AssumeRoleStack.cs
index 3328603da..ebfb92e35 100644
--- a/aws-cs-assume-role/assume-role/AssumeRoleStack.cs
+++ b/aws-cs-assume-role/assume-role/AssumeRoleStack.cs
@@ -22,7 +22,8 @@ public AssumeRoleStack()
},
Region = awsConfig.Require("region"),
});
- var bucket = new Aws.S3.Bucket("myBucket", null, new CustomResourceOptions { Provider = provider });
+ var bucket = new Aws.S3.BucketV2("myBucket", null, new CustomResourceOptions { Provider = provider });
+ this.BucketName = bucket.Bucket;
}
[Output]
diff --git a/aws-cs-assume-role/assume-role/assume-role.csproj b/aws-cs-assume-role/assume-role/assume-role.csproj
index 72e2e9572..052102ea5 100644
--- a/aws-cs-assume-role/assume-role/assume-role.csproj
+++ b/aws-cs-assume-role/assume-role/assume-role.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/aws-cs-assume-role/create-role/create-role.csproj b/aws-cs-assume-role/create-role/create-role.csproj
index 72e2e9572..052102ea5 100644
--- a/aws-cs-assume-role/create-role/create-role.csproj
+++ b/aws-cs-assume-role/create-role/create-role.csproj
@@ -8,7 +8,7 @@
-
+