Skip to content

Commit

Permalink
Update aws-cs-assume-role to BucketV2 (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 authored Oct 3, 2024
1 parent 4be8999 commit 1aee1fd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aws-cs-assume-role/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
```
Expand Down
3 changes: 2 additions & 1 deletion aws-cs-assume-role/assume-role/AssumeRoleStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion aws-cs-assume-role/assume-role/assume-role.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="6.0.2" />
<PackageReference Include="Pulumi.Aws" Version="6.*" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion aws-cs-assume-role/create-role/create-role.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="Pulumi" Version="3.*" />
<PackageReference Include="Pulumi.Aws" Version="6.0.2" />
<PackageReference Include="Pulumi.Aws" Version="6.*" />
</ItemGroup>

</Project>

0 comments on commit 1aee1fd

Please sign in to comment.