diff --git a/scripts/programs/test.sh b/scripts/programs/test.sh index 76168cab0df..b6aeb40fe76 100755 --- a/scripts/programs/test.sh +++ b/scripts/programs/test.sh @@ -26,15 +26,28 @@ else fi pushd "$programs_dir" + found_first_program=false + for dir in */; do project="$(basename $dir)" # Optionally test only selected examples by setting an ONLY_TEST="" # environment variable (e.g., ONLY_TEST="awsx-ecr-repository"). - if [[ ! -z "$ONLY_TEST" && "$dir" != "$ONLY_TEST"* ]]; then + if [[ ! -z "$ONLY_TEST" && "$project" != "$ONLY_TEST"* ]]; then continue fi + # Optionally test only from the specified example forward by setting ONLY_TEST_FROM="". + if [[ ! -z "$ONLY_TEST_FROM" ]]; then + if [[ "$project" == "$ONLY_TEST_FROM"* && "$found_first_program" == false ]]; then + found_first_program=true + fi + + if [ "$found_first_program" == false ]; then + continue + fi + fi + # Skip programs we know don't compile. # API Gateway authorizer parameter `providerArns` is mistyped. diff --git a/themes/default/static/programs/aws-acm-certificate-go/go.mod.txt b/themes/default/static/programs/aws-acm-certificate-go/go.mod.txt index 93223c70cc1..76c4043f4c1 100644 --- a/themes/default/static/programs/aws-acm-certificate-go/go.mod.txt +++ b/themes/default/static/programs/aws-acm-certificate-go/go.mod.txt @@ -3,6 +3,6 @@ module aws-acm-certificate-go go 1.21 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.24.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-ec2-instance-with-sg-go/go.mod.txt b/themes/default/static/programs/aws-ec2-instance-with-sg-go/go.mod.txt index ca8684e5abe..e9a60ce3260 100644 --- a/themes/default/static/programs/aws-ec2-instance-with-sg-go/go.mod.txt +++ b/themes/default/static/programs/aws-ec2-instance-with-sg-go/go.mod.txt @@ -4,5 +4,5 @@ go 1.20 require ( github.com/pulumi/pulumi-aws/sdk/v4 v4.38.1 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-ec2-sg-nginx-server-go/go.mod.txt b/themes/default/static/programs/aws-ec2-sg-nginx-server-go/go.mod.txt index 3b385ea9485..55b6ac2e094 100644 --- a/themes/default/static/programs/aws-ec2-sg-nginx-server-go/go.mod.txt +++ b/themes/default/static/programs/aws-ec2-sg-nginx-server-go/go.mod.txt @@ -1,8 +1,10 @@ module aws-ec2-sg-nginx-server-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-ec2-vpc-resources-go/go.mod.txt b/themes/default/static/programs/aws-ec2-vpc-resources-go/go.mod.txt index fa450cf9861..a21543113ec 100644 --- a/themes/default/static/programs/aws-ec2-vpc-resources-go/go.mod.txt +++ b/themes/default/static/programs/aws-ec2-vpc-resources-go/go.mod.txt @@ -5,6 +5,6 @@ go 1.21 toolchain go1.22.1 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.24.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-eks-cluster-go/go.mod.txt b/themes/default/static/programs/aws-eks-cluster-go/go.mod.txt index c0c94df0474..7ba093f5e73 100644 --- a/themes/default/static/programs/aws-eks-cluster-go/go.mod.txt +++ b/themes/default/static/programs/aws-eks-cluster-go/go.mod.txt @@ -1,9 +1,11 @@ module aws-eks-cluster-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi-eks/sdk/v2 v2.0.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi-eks/sdk/v2 v2.3.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-iampolicy-jsonparse-go/go.mod.txt b/themes/default/static/programs/aws-iampolicy-jsonparse-go/go.mod.txt index a8b954c64ae..d6c11e322a0 100644 --- a/themes/default/static/programs/aws-iampolicy-jsonparse-go/go.mod.txt +++ b/themes/default/static/programs/aws-iampolicy-jsonparse-go/go.mod.txt @@ -4,4 +4,4 @@ go 1.21 toolchain go1.22.1 -require github.com/pulumi/pulumi/sdk/v3 v3.108.1 +require github.com/pulumi/pulumi/sdk/v3 v3.112.0 diff --git a/themes/default/static/programs/aws-import-export-pulumi-config-go/go.mod.txt b/themes/default/static/programs/aws-import-export-pulumi-config-go/go.mod.txt index b869386536d..baf3fbccf40 100644 --- a/themes/default/static/programs/aws-import-export-pulumi-config-go/go.mod.txt +++ b/themes/default/static/programs/aws-import-export-pulumi-config-go/go.mod.txt @@ -2,4 +2,4 @@ module aws-import-export-pulumi-config-go go 1.20 -require github.com/pulumi/pulumi/sdk/v3 v3.102.0 +require github.com/pulumi/pulumi/sdk/v3 v3.112.0 diff --git a/themes/default/static/programs/aws-lambda-stepfunctions-jsonhelper-go/go.mod.txt b/themes/default/static/programs/aws-lambda-stepfunctions-jsonhelper-go/go.mod.txt index 9affb8343c4..cb8eb5fe0a7 100644 --- a/themes/default/static/programs/aws-lambda-stepfunctions-jsonhelper-go/go.mod.txt +++ b/themes/default/static/programs/aws-lambda-stepfunctions-jsonhelper-go/go.mod.txt @@ -5,6 +5,6 @@ go 1.21 toolchain go1.22.1 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.24.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-s3-bucket-resources-go/go.mod.txt b/themes/default/static/programs/aws-s3-bucket-resources-go/go.mod.txt index 807f8b299b6..cdeca74dea8 100644 --- a/themes/default/static/programs/aws-s3-bucket-resources-go/go.mod.txt +++ b/themes/default/static/programs/aws-s3-bucket-resources-go/go.mod.txt @@ -5,6 +5,6 @@ go 1.21 toolchain go1.22.1 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.24.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-s3-bucketpolicy-jsonstringify-go/go.mod.txt b/themes/default/static/programs/aws-s3-bucketpolicy-jsonstringify-go/go.mod.txt index 5ab3a2edfcd..577645d6fb6 100644 --- a/themes/default/static/programs/aws-s3-bucketpolicy-jsonstringify-go/go.mod.txt +++ b/themes/default/static/programs/aws-s3-bucketpolicy-jsonstringify-go/go.mod.txt @@ -5,6 +5,6 @@ go 1.21 toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.24.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-s3bucket-bucketobject-interpolate-go/go.mod.txt b/themes/default/static/programs/aws-s3bucket-bucketobject-interpolate-go/go.mod.txt index 4fc9d2dcd61..3d89a6759eb 100644 --- a/themes/default/static/programs/aws-s3bucket-bucketobject-interpolate-go/go.mod.txt +++ b/themes/default/static/programs/aws-s3bucket-bucketobject-interpolate-go/go.mod.txt @@ -4,5 +4,5 @@ go 1.21 require ( github.com/pulumi/pulumi-aws/sdk/v4 v4.38.1 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-s3bucket-bucketpolicy-go/go.mod.txt b/themes/default/static/programs/aws-s3bucket-bucketpolicy-go/go.mod.txt index 765437a1054..32719ece74e 100644 --- a/themes/default/static/programs/aws-s3bucket-bucketpolicy-go/go.mod.txt +++ b/themes/default/static/programs/aws-s3bucket-bucketpolicy-go/go.mod.txt @@ -3,6 +3,6 @@ module aws-s3bucket-bucketpolicy-go go 1.21 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.24.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-aws/sdk/v4 v4.38.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-s3bucket-bucketpolicy-java/src/main/java/myproject/App.java b/themes/default/static/programs/aws-s3bucket-bucketpolicy-java/src/main/java/myproject/App.java index cbad2401378..55620268ebb 100644 --- a/themes/default/static/programs/aws-s3bucket-bucketpolicy-java/src/main/java/myproject/App.java +++ b/themes/default/static/programs/aws-s3bucket-bucketpolicy-java/src/main/java/myproject/App.java @@ -1,26 +1,29 @@ +package myproject; + import com.pulumi.Pulumi; -import com.pulumi.core.Output; import com.pulumi.aws.s3.Bucket; import com.pulumi.aws.s3.BucketPolicy; -import com.pulumi.aws.s3.inputs.BucketPolicyPolicyArgs; -import java.util.Map; +import com.pulumi.aws.s3.BucketPolicyArgs; +import static com.pulumi.codegen.internal.Serialization.*; public class App { public static void main(String[] args) { Pulumi.run(ctx -> { var bucket = new Bucket("myBucket"); - var bucketArn = bucket.arn(); - var policyDocument = bucketArn.apply(arn -> String.format(""" - { - "Version": "2012-10-17", - "Statement": [{ - "Effect": "Allow", - "Principal": {"Service": "lambda.amazonaws.com"}, - "Action": ["s3:PutObject", "s3:PutObjectAcl"], - "Resource": "%s/*" - }] - }""", arn)); + var policyDocument = bucket.arn().applyValue(arn -> serializeJson( + jsonObject( + jsonProperty("Version", "2012-10-17"), + jsonProperty("Statement", jsonArray(jsonObject( + jsonProperty("Effect", "Allow"), + jsonProperty("Action", jsonArray("s3:PutObject", "s3:PutObjectAcl")), + jsonProperty("Principal", jsonObject( + jsonProperty("Service", "lambda.amazonaws.com") + )), + jsonProperty("Resource", arn + "/*") + ))) + ) + )); var bucketPolicy = new BucketPolicy("myBucketPolicy", BucketPolicyArgs.builder() .bucket(bucket.id()) diff --git a/themes/default/static/programs/aws-s3bucket-bucketpolicy-python/__main__.py b/themes/default/static/programs/aws-s3bucket-bucketpolicy-python/__main__.py index 8befd54b91f..1d49dbabf95 100644 --- a/themes/default/static/programs/aws-s3bucket-bucketpolicy-python/__main__.py +++ b/themes/default/static/programs/aws-s3bucket-bucketpolicy-python/__main__.py @@ -6,22 +6,29 @@ s3_bucket = aws.s3.Bucket("myBucket") # IAM Policy Document that allows the Lambda service to write to the S3 bucket -s3_bucket_policy_document = s3_bucket.arn.apply(lambda arn: json.dumps({ - "Version": "2012-10-17", - "Statement": [{ - "Effect": "Allow", - "Principal": {"Service": "lambda.amazonaws.com"}, - "Action": ["s3:PutObject", "s3:PutObjectAcl"], - "Resource": f"{arn}/*" - }] -})) +s3_bucket_policy_document = s3_bucket.arn.apply( + lambda arn: json.dumps( + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Principal": {"Service": "lambda.amazonaws.com"}, + "Action": ["s3:PutObject", "s3:PutObjectAcl"], + "Resource": f"{arn}/*", + } + ], + } + ) +) # Attach the policy to the bucket -s3_bucket_policy = aws.s3.BucketPolicy("myBucketPolicy", +s3_bucket_policy = aws.s3.BucketPolicy( + "myBucketPolicy", bucket=s3_bucket.id, policy=s3_bucket_policy_document, ) # Export the names and ARNs of the created resources -pulumi.export('bucket_name', s3_bucket.id) -pulumi.export('bucket_arn', s3_bucket.arn) +pulumi.export("bucket_name", s3_bucket.id) +pulumi.export("bucket_arn", s3_bucket.arn) diff --git a/themes/default/static/programs/aws-s3bucket-bucketpolicy-yaml/Pulumi.yaml b/themes/default/static/programs/aws-s3bucket-bucketpolicy-yaml/Pulumi.yaml index 9db914fce93..e361e6b94d0 100644 --- a/themes/default/static/programs/aws-s3bucket-bucketpolicy-yaml/Pulumi.yaml +++ b/themes/default/static/programs/aws-s3bucket-bucketpolicy-yaml/Pulumi.yaml @@ -11,19 +11,17 @@ resources: properties: bucket: ${myBucket.id} policy: - Version: "2012-10-17" - Statement: - - Effect: "Allow" - Principal: - Service: "lambda.amazonaws.com" - Action: - - "s3:PutObject" - - "s3:PutObjectAcl" - Resource: - Fn::Sub: "${myBucket.arn}/*" + fn::toJSON: + Version: "2012-10-17" + Statement: + - Effect: "Allow" + Principal: + Service: "lambda.amazonaws.com" + Action: + - "s3:PutObject" + - "s3:PutObjectAcl" + Resource: "${myBucket.arn}/*" outputs: - bucket_name: - value: ${myBucket.id} - bucket_arn: - value: ${myBucket.arn} + bucket_name: ${myBucket.id} + bucket_arn: ${myBucket.arn} diff --git a/themes/default/static/programs/aws-s3websitebucket-oai-bucketpolicy-go/go.mod.txt b/themes/default/static/programs/aws-s3websitebucket-oai-bucketpolicy-go/go.mod.txt index 804cca9af5f..c622a5c3ad0 100644 --- a/themes/default/static/programs/aws-s3websitebucket-oai-bucketpolicy-go/go.mod.txt +++ b/themes/default/static/programs/aws-s3websitebucket-oai-bucketpolicy-go/go.mod.txt @@ -5,6 +5,6 @@ go 1.21 toolchain go1.22.1 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.24.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/aws-simulated-dbserver-database-go/go.mod.txt b/themes/default/static/programs/aws-simulated-dbserver-database-go/go.mod.txt index 5228e95ddcb..af931f7e16e 100644 --- a/themes/default/static/programs/aws-simulated-dbserver-database-go/go.mod.txt +++ b/themes/default/static/programs/aws-simulated-dbserver-database-go/go.mod.txt @@ -2,4 +2,4 @@ module aws-simulated-dbserver-database-go go 1.20 -require github.com/pulumi/pulumi/sdk/v3 v3.102.0 +require github.com/pulumi/pulumi/sdk/v3 v3.112.0 diff --git a/themes/default/static/programs/aws-simulated-server-interpolate-go/go.mod.txt b/themes/default/static/programs/aws-simulated-server-interpolate-go/go.mod.txt deleted file mode 100644 index 8607a8660e4..00000000000 --- a/themes/default/static/programs/aws-simulated-server-interpolate-go/go.mod.txt +++ /dev/null @@ -1,5 +0,0 @@ -module aws-simulated-server-interpolate-go - -go 1.20 - -require github.com/pulumi/pulumi/sdk/v3 v3.102.0 diff --git a/themes/default/static/programs/awsx-apigateway-api-keys-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-api-keys-go/go.mod.txt index 033f419a601..75c8d2a996f 100644 --- a/themes/default/static/programs/awsx-apigateway-api-keys-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-api-keys-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-apigateway-api-keys-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-auth-cognito-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-auth-cognito-go/go.mod.txt index 41c3b6f1384..b71a96752d0 100644 --- a/themes/default/static/programs/awsx-apigateway-auth-cognito-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-auth-cognito-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-apigateway-auth-cognito-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-auth-lambda-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-auth-lambda-go/go.mod.txt index 41c3b6f1384..b71a96752d0 100644 --- a/themes/default/static/programs/awsx-apigateway-auth-lambda-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-auth-lambda-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-apigateway-auth-cognito-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-custom-domain-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-custom-domain-go/go.mod.txt index 41c3b6f1384..b71a96752d0 100644 --- a/themes/default/static/programs/awsx-apigateway-custom-domain-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-custom-domain-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-apigateway-auth-cognito-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-http-proxy-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-http-proxy-go/go.mod.txt index de6a14806ae..42ea5bc1cf4 100644 --- a/themes/default/static/programs/awsx-apigateway-http-proxy-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-http-proxy-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-apigateway-http-proxy-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-lambda-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-lambda-go/go.mod.txt index 8df15cc8640..c2b96ae3079 100644 --- a/themes/default/static/programs/awsx-apigateway-lambda-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-lambda-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-apigateway-lambda-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-openapi-full-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-openapi-full-go/go.mod.txt index 445162379a8..0f10b7258df 100644 --- a/themes/default/static/programs/awsx-apigateway-openapi-full-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-openapi-full-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-apigateway-openapi-full-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-openapi-route-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-openapi-route-go/go.mod.txt index cee81ef2879..8b399248f6e 100644 --- a/themes/default/static/programs/awsx-apigateway-openapi-route-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-openapi-route-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-apigateway-openapi-route-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-s3-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-s3-go/go.mod.txt index 1ff6f076ce2..0d9da48d950 100644 --- a/themes/default/static/programs/awsx-apigateway-s3-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-s3-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-apigateway-s3-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-apigateway-validation-types-go/go.mod.txt b/themes/default/static/programs/awsx-apigateway-validation-types-go/go.mod.txt index 3e5956be65b..96743b69a1d 100644 --- a/themes/default/static/programs/awsx-apigateway-validation-types-go/go.mod.txt +++ b/themes/default/static/programs/awsx-apigateway-validation-types-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-apigateway-validation-types-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.1.1 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws-apigateway/sdk/v2 v2.4.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-ecr-eks-deployment-service-go/go.mod.txt b/themes/default/static/programs/awsx-ecr-eks-deployment-service-go/go.mod.txt index 0f9e7fcadc6..457f6cb1b03 100644 --- a/themes/default/static/programs/awsx-ecr-eks-deployment-service-go/go.mod.txt +++ b/themes/default/static/programs/awsx-ecr-eks-deployment-service-go/go.mod.txt @@ -1,10 +1,12 @@ module awsx-ecr-eks-deployment-service-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi-eks/sdk/v2 v2.0.0 - github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.6.1 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi-eks/sdk/v2 v2.3.0 + github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.9.1 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-ecr-image-go/go.mod.txt b/themes/default/static/programs/awsx-ecr-image-go/go.mod.txt index c759664a897..e34ebebf0f0 100644 --- a/themes/default/static/programs/awsx-ecr-image-go/go.mod.txt +++ b/themes/default/static/programs/awsx-ecr-image-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-ecr-image-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-ecr-repository-go/go.mod.txt b/themes/default/static/programs/awsx-ecr-repository-go/go.mod.txt index 8b015a5d949..b5b236920c2 100644 --- a/themes/default/static/programs/awsx-ecr-repository-go/go.mod.txt +++ b/themes/default/static/programs/awsx-ecr-repository-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-ecr-repository-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-elb-multi-listener-redirect-go/go.mod.txt b/themes/default/static/programs/awsx-elb-multi-listener-redirect-go/go.mod.txt index 9f77c38dad2..127e7ef6d2f 100644 --- a/themes/default/static/programs/awsx-elb-multi-listener-redirect-go/go.mod.txt +++ b/themes/default/static/programs/awsx-elb-multi-listener-redirect-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-elb-multi-listener-redirect-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-elb-private-subnet-go/go.mod.txt b/themes/default/static/programs/awsx-elb-private-subnet-go/go.mod.txt index c569548d429..1778acae1e3 100644 --- a/themes/default/static/programs/awsx-elb-private-subnet-go/go.mod.txt +++ b/themes/default/static/programs/awsx-elb-private-subnet-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-elb-private-subnet-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-elb-vpc-go/go.mod.txt b/themes/default/static/programs/awsx-elb-vpc-go/go.mod.txt index 385efd74623..da0ba9ab80b 100644 --- a/themes/default/static/programs/awsx-elb-vpc-go/go.mod.txt +++ b/themes/default/static/programs/awsx-elb-vpc-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-elb-vpc-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-elb-web-listener-go/go.mod.txt b/themes/default/static/programs/awsx-elb-web-listener-go/go.mod.txt index 353ba814d3f..f73439bfa02 100644 --- a/themes/default/static/programs/awsx-elb-web-listener-go/go.mod.txt +++ b/themes/default/static/programs/awsx-elb-web-listener-go/go.mod.txt @@ -1,8 +1,10 @@ module myproject -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-load-balanced-ec2-instances-go/go.mod.txt b/themes/default/static/programs/awsx-load-balanced-ec2-instances-go/go.mod.txt index 6c48a73a171..a6efb4df7ff 100644 --- a/themes/default/static/programs/awsx-load-balanced-ec2-instances-go/go.mod.txt +++ b/themes/default/static/programs/awsx-load-balanced-ec2-instances-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-load-balanced-ec2-instances-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/go.mod.txt b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/go.mod.txt index 9a10e8693eb..279aa20e039 100644 --- a/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/go.mod.txt +++ b/themes/default/static/programs/awsx-load-balanced-fargate-ecr-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-load-balanced-fargate-nginx-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/go.mod.txt b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/go.mod.txt index 9a10e8693eb..279aa20e039 100644 --- a/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/go.mod.txt +++ b/themes/default/static/programs/awsx-load-balanced-fargate-nginx-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-load-balanced-fargate-nginx-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-azs-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-azs-go/go.mod.txt index 8347e12792c..9ac6e50f617 100644 --- a/themes/default/static/programs/awsx-vpc-azs-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-azs-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-vpc-azs-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-cidr-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-cidr-go/go.mod.txt index c8e62b72e23..47bfb4297e8 100644 --- a/themes/default/static/programs/awsx-vpc-cidr-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-cidr-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-vpc-cidr-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-default-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-default-go/go.mod.txt index 9c970cecb7f..092b27c6fc0 100644 --- a/themes/default/static/programs/awsx-vpc-default-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-default-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-vpc-default-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-fargate-service-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-fargate-service-go/go.mod.txt index 670caa6bf82..42ae625273a 100644 --- a/themes/default/static/programs/awsx-vpc-fargate-service-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-fargate-service-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-vpc-fargate-service-yaml -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-go/go.mod.txt index 54df79a8e49..bfdf935a987 100644 --- a/themes/default/static/programs/awsx-vpc-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-vpc-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-nat-gateways-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-nat-gateways-go/go.mod.txt index 10dccc29ea7..51d92070661 100644 --- a/themes/default/static/programs/awsx-vpc-nat-gateways-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-nat-gateways-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-vpc-nat-gateways-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-security-groups-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-security-groups-go/go.mod.txt index 287e69b3c1e..1e064dd9800 100644 --- a/themes/default/static/programs/awsx-vpc-security-groups-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-security-groups-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-vpc-security-groups-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-sg-ec2-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-sg-ec2-go/go.mod.txt index 41f2e48f785..f73930a277c 100644 --- a/themes/default/static/programs/awsx-vpc-sg-ec2-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-sg-ec2-go/go.mod.txt @@ -1,9 +1,11 @@ module awsx-vpc-sg-ec2-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-aws/sdk/v6 v6.17.0 - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-aws/sdk/v6 v6.29.1 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 ) diff --git a/themes/default/static/programs/awsx-vpc-subnets-go/go.mod.txt b/themes/default/static/programs/awsx-vpc-subnets-go/go.mod.txt index 8e238f61563..00361414571 100644 --- a/themes/default/static/programs/awsx-vpc-subnets-go/go.mod.txt +++ b/themes/default/static/programs/awsx-vpc-subnets-go/go.mod.txt @@ -1,8 +1,10 @@ module awsx-vpc-subnets-go -go 1.20 +go 1.21 + +toolchain go1.21.9 require ( - github.com/pulumi/pulumi-awsx/sdk/v2 v2.4.0 - github.com/pulumi/pulumi/sdk/v3 v3.100.0 + github.com/pulumi/pulumi-awsx/sdk/v2 v2.6.0 + github.com/pulumi/pulumi/sdk/v3 v3.112.0 )