Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update aws-cs-assume-role to BucketV2 #1688

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading