Skip to content

Commit

Permalink
Upgrade all AWS examples to v3 of the pulumi-aws package (pulumi#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Aug 17, 2020
1 parent 252b00a commit fd422a1
Show file tree
Hide file tree
Showing 103 changed files with 372 additions and 763 deletions.
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 @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Aws" Version="2.*" />
<PackageReference Include="Pulumi.Aws" Version="3.*" />
</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 @@ -7,7 +7,7 @@
</PropertyGroup>

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

</Project>
2 changes: 1 addition & 1 deletion aws-cs-eks/Aws.EksCluster.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Aws" Version="2.*" />
<PackageReference Include="Pulumi.Aws" Version="3.*" />
<PackageReference Include="Pulumi.Kubernetes" Version="2.*" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion aws-cs-fargate/Infra/Aws.Fargate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Aws" Version="2.*" />
<PackageReference Include="Pulumi.Aws" Version="3.*" />
<PackageReference Include="Pulumi.Docker" Version="2.*" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion aws-cs-lambda/pulumi/Aws.Lambda.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

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

</Project>
2 changes: 1 addition & 1 deletion aws-cs-s3-folder/aws-cs-s3-folder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Pulumi.Aws" Version="2.*" />
<PackageReference Include="Pulumi.Aws" Version="3.*" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion aws-cs-webserver/Aws.WebServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

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

</Project>
2 changes: 1 addition & 1 deletion aws-fs-lambda-webserver/pulumi/Aws.LambdaWebServer.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Aws" Version="2.*" />
<PackageReference Include="Pulumi.Aws" Version="3.*" />
<PackageReference Include="Pulumi.FSharp" Version="2.*" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion aws-fs-s3-folder/aws-cs-s3-folder.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Pulumi.Aws" Version="2.*" />
<PackageReference Include="Pulumi.Aws" Version="3.*" />
<PackageReference Include="Pulumi.FSharp" Version="2.*" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions aws-go-appsync/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/pulumi/examples/aws-go-webserver
go 1.14

require (
github.com/pulumi/pulumi-aws/sdk/v2 v2.10.1
github.com/pulumi/pulumi/sdk/v2 v2.5.0
github.com/pulumi/pulumi-aws/sdk/v3 v3.1.0
github.com/pulumi/pulumi-random/sdk/v2 v2.1.3
github.com/pulumi/pulumi/sdk/v2 v2.5.0
)
17 changes: 4 additions & 13 deletions aws-go-appsync/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -146,21 +146,10 @@ github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
github.com/pulumi/pulumi-aws v1.31.0 h1:m3RXWnrV6jzfHJdGc6iGouoQmCtNo69VxTq9Z3QPm2w=
github.com/pulumi/pulumi-aws v2.10.1+incompatible h1:7P6xqTEsNTCUDxbz8CjmLKXe5G+ZLTx/UpxSYqVYcHw=
github.com/pulumi/pulumi-aws/sdk v1.28.0 h1:nFcKmX73Jkr2J9lNLlwm8nH/HmPmK43Mv5H3vHVLOiQ=
github.com/pulumi/pulumi-aws/sdk v1.28.0/go.mod h1:5beaEM6OxcQDZxTBN1dnqAtL7BLE7kvaLq/3lFQwGK4=
github.com/pulumi/pulumi-aws/sdk v1.31.0 h1:E6RfPg46zsDJLidyh1vC7Gq9M5zFbjnezJqcG7zKchw=
github.com/pulumi/pulumi-aws/sdk v1.31.0/go.mod h1:8Z92TlFer1SqiPUgT2D/DwXrM9lOaevADPaQdB3BF4U=
github.com/pulumi/pulumi-aws/sdk/v2 v2.0.0 h1:v5TnWss3bz8x0EYS0o7WmgEfVn5VtYm21HbTcvrNjhk=
github.com/pulumi/pulumi-aws/sdk/v2 v2.0.0/go.mod h1:5Z9y0tdIB+8cBlLZhN/XCFvhnXoob4KTqfvJDOApKG4=
github.com/pulumi/pulumi-aws/sdk/v2 v2.10.1 h1:yXW4m6RhFPyYg6ZisLFyy4ftVAVT9UJi4Ddi7AvkHNA=
github.com/pulumi/pulumi-aws/sdk/v2 v2.10.1/go.mod h1:Ym4hqC6LOLnZQOtbcW4BkXKCFtAgyzbCGw4EotugYr8=
github.com/pulumi/pulumi-aws/sdk/v3 v3.1.0 h1:huTCq1WTR4f45JA1yJHqRVtS7v7aoKCYs4xs71VOKRo=
github.com/pulumi/pulumi-aws/sdk/v3 v3.1.0/go.mod h1:Tiu0MSxPkufZDbNTXNMb8cKiIRWLt+7spM3DPuzLcBc=
github.com/pulumi/pulumi-random/sdk/v2 v2.1.3 h1:Onu+IWeOlc+A1bJkqtZOWiA+gBGhMcaOVSgDx+6pBtM=
github.com/pulumi/pulumi-random/sdk/v2 v2.1.3/go.mod h1:PPzzdlKYXLuBjcl6T4FvvQgKBntKa9gMbZtgslBlVHc=
github.com/pulumi/pulumi/sdk v0.0.0-20200325225746-80f1989600a3/go.mod h1:0jjygtqEwLnjNEL3zIn3ynjT/37ZJ42DZE6k2+2NAUM=
github.com/pulumi/pulumi/sdk v1.13.1 h1:BX0ttL/g5ofKxkK2VY/gp8SdBxJi4eIyIG34JRn9ENU=
github.com/pulumi/pulumi/sdk v1.13.1/go.mod h1:0jjygtqEwLnjNEL3zIn3ynjT/37ZJ42DZE6k2+2NAUM=
github.com/pulumi/pulumi/sdk/v2 v2.0.0 h1:3VMXbEo3bqeaU+YDt8ufVBLD0WhLYE3tG3t/nIZ3Iac=
github.com/pulumi/pulumi/sdk/v2 v2.0.0/go.mod h1:W7k1UDYerc5o97mHnlHHp5iQZKEby+oQrQefWt+2RF4=
github.com/pulumi/pulumi/sdk/v2 v2.2.1/go.mod h1:QNbWpL4gvf3X0lUFT7TXA2Jo1ff/Ti2l97AyFGYwvW4=
Expand Down Expand Up @@ -227,6 +216,7 @@ golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs=
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
Expand Down Expand Up @@ -274,6 +264,7 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI=
golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e h1:aZzprAO9/8oim3qStq3wc1Xuxx4QmAGriC4VU4ojemQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
6 changes: 3 additions & 3 deletions aws-go-appsync/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/dynamodb"
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/iam"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/appsync"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/dynamodb"
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam"
"github.com/pulumi/pulumi-random/sdk/v2/go/random"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
Expand Down
3 changes: 1 addition & 2 deletions aws-go-assume-role/assume-role/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module assume-role
go 1.14

require (
github.com/pulumi/pulumi-aws/sdk v1.31.0
github.com/pulumi/pulumi-aws/sdk/v2 v2.11.0
github.com/pulumi/pulumi-aws/sdk/v3 v3.1.0
github.com/pulumi/pulumi/sdk/v2 v2.2.1
)
Loading

0 comments on commit fd422a1

Please sign in to comment.