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

Upgrade Go module dependencies in example programs #11860

Merged
merged 2 commits into from
May 22, 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: 0 additions & 2 deletions scripts/content/new-example-program.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ generate_example() {
pulumi install > /dev/null
popd > /dev/null
done

unsuffix_gomods
}

echo
Expand Down
2 changes: 1 addition & 1 deletion scripts/programs/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ source ./scripts/programs/common.sh

programs_dir="static/programs"

# Delete install artifacts, but leave existing go.mod files.
# Delete install artifacts.
git clean -fdX "${programs_dir}/*"

# Fix up go.mod files.
Expand Down
4 changes: 2 additions & 2 deletions static/programs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ MigrationBackup/
maven-status
target/

# Nested .gitignores.
*/**/.gitignore
# Generated .gitignores.
*/.gitignore

# Stack config files.
Pulumi.*.yaml
Expand Down
2 changes: 1 addition & 1 deletion static/programs/aws-acm-certificate-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module aws-acm-certificate-go
go 1.21

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/aws-ec2-sg-nginx-server-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/aws-ec2-vpc-resources-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.22.1

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/aws-iam-role-instanceprofile-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.0

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.0

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/aws-iam-user-group-grouppolicy-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.0

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/aws-iam-user-userpolicy-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.0

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.22.1

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/aws-s3-bucket-resources-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.22.1

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.22.1

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public
4 changes: 2 additions & 2 deletions static/programs/awsx-apigateway-api-keys-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
4 changes: 2 additions & 2 deletions static/programs/awsx-apigateway-auth-cognito-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
4 changes: 2 additions & 2 deletions static/programs/awsx-apigateway-auth-lambda-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
4 changes: 2 additions & 2 deletions static/programs/awsx-apigateway-custom-domain-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-apigateway-http-proxy-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
4 changes: 2 additions & 2 deletions static/programs/awsx-apigateway-lambda-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-apigateway-openapi-full-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-apigateway-openapi-route-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-apigateway-s3-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-apigateway-validation-types-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0
github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.5.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-ecr-eks-deployment-service-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ toolchain go1.21.9
require (
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi-eks/sdk/v2 v2.4.0
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.11.0
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.12.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-elb-multi-listener-redirect-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-load-balanced-ec2-instances-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-load-balanced-fargate-ecr-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-load-balanced-fargate-nginx-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-vpc-fargate-service-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-vpc-security-groups-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
2 changes: 1 addition & 1 deletion static/programs/awsx-vpc-sg-ec2-go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.21.9

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.36.0
github.com/pulumi/pulumi-aws/sdk/v6 v6.37.0
github.com/pulumi/pulumi-awsx/sdk/v2 v2.10.0
github.com/pulumi/pulumi/sdk/v3 v3.116.1
)
Loading