File tree Expand file tree Collapse file tree 8 files changed +18
-18
lines changed
simple-lambda-with-deploy-test Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ jobs:
4343 name : Terraform Format
4444 runs-on : ubuntu-latest
4545 steps :
46- - uses : actions/checkout@v3
46+ - uses : actions/checkout@v4
4747
4848 - name : Terraform Setup
49- uses : hashicorp/setup-terraform@v2
49+ uses : hashicorp/setup-terraform@v3
5050 with :
5151 terraform_version : 1.0.0
5252
@@ -67,17 +67,17 @@ jobs:
6767 pull-requests : write
6868 id-token : write
6969 steps :
70- - uses : actions/checkout@v3
70+ - uses : actions/checkout@v4
7171
7272 - name : Configure AWS credentials
73- uses : aws-actions/configure-aws-credentials@v2
73+ uses : aws-actions/configure-aws-credentials@v4
7474 with :
7575 role-to-assume : " arn:aws:iam::${{ matrix.env.aws_account }}:role/${{ matrix.env.aws_gha_role }}"
7676 role-session-name : ${{ github.sha }}
7777 aws-region : us-west-2
7878
7979 - name : Terraform Setup
80- uses : hashicorp/setup-terraform@v2
80+ uses : hashicorp/setup-terraform@v3
8181 with :
8282 terraform_version : ${{ matrix.env.tf_version }}
8383
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module "lambda_api" {
3131 app_name = "my-lambda-codedeploy-dev"
3232 zip_filename = "./src/lambda.zip"
3333 zip_handler = "index.handler"
34- zip_runtime = "nodejs12 .x"
34+ zip_runtime = "nodejs20 .x"
3535
3636 hosted_zone = module.acs.route53_zone
3737 https_certificate_arn = module.acs.certificate.arn
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
33}
44
55provider "aws" {
6- version = " ~> 3.67 "
6+ version = " ~> 5.33 "
77 region = " us-west-2"
88}
99
@@ -16,7 +16,7 @@ module "lambda_api" {
1616 app_name = " my-lambda"
1717 zip_filename = " ./lambda.zip"
1818 zip_handler = " index.handler"
19- zip_runtime = " nodejs12 .x"
19+ zip_runtime = " nodejs20 .x"
2020 hosted_zone = module. acs . route53_zone
2121 https_certificate_arn = module. acs . certificate . arn
2222 vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
33}
44
55provider "aws" {
6- version = " ~> 3.67 "
6+ version = " ~> 5.33 "
77 region = " us-west-2"
88}
99
@@ -16,7 +16,7 @@ module "lambda_api" {
1616 app_name = " my-lambda"
1717 zip_filename = " ./lambda.zip"
1818 zip_handler = " index.handler"
19- zip_runtime = " nodejs12 .x"
19+ zip_runtime = " nodejs20 .x"
2020 hosted_zone = module. acs . route53_zone
2121 https_certificate_arn = module. acs . certificate . arn
2222 vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
33 required_providers {
44 aws = {
55 source = " hashicorp/aws"
6- version = " ~> 3.67 "
6+ version = " ~> 5.33 "
77 }
88 }
99}
@@ -21,7 +21,7 @@ module "lambda_api" {
2121 app_name = " my-lambda"
2222 zip_filename = " ./lambda.zip"
2323 zip_handler = " index.handler"
24- zip_runtime = " nodejs12 .x"
24+ zip_runtime = " nodejs20 .x"
2525 hosted_zone = module. acs . route53_zone
2626 https_certificate_arn = module. acs . certificate . arn
2727 vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change 11provider "aws" {
2- version = " ~> 3.67 "
2+ version = " ~> 5.33 "
33 region = " us-west-2"
44}
55
@@ -13,7 +13,7 @@ module "lambda_api" {
1313 app_name = " my-lambda-dev"
1414 zip_filename = " ./src/lambda.zip"
1515 zip_handler = " index.handler"
16- zip_runtime = " nodejs12 .x"
16+ zip_runtime = " nodejs20 .x"
1717 hosted_zone = module. acs . route53_zone
1818 https_certificate_arn = module. acs . certificate . arn
1919 vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module "lambda_api" {
1313 app_name = " my-lambda-dev"
1414 zip_filename = " ./src/lambda.zip"
1515 zip_handler = " index.handler"
16- zip_runtime = " nodejs12 .x"
16+ zip_runtime = " nodejs20 .x"
1717
1818 hosted_zone = module. acs . route53_zone
1919 https_certificate_arn = module. acs . certificate . arn
Original file line number Diff line number Diff line change 11provider "aws" {
2- version = " ~> 3.67 "
2+ version = " ~> 5.33 "
33 region = " us-west-2"
44}
55
@@ -14,7 +14,7 @@ module "lambda_api" {
1414 env = " dev"
1515 zip_filename = " ./src/lambda.zip"
1616 zip_handler = " index.handler"
17- zip_runtime = " nodejs12 .x"
17+ zip_runtime = " nodejs20 .x"
1818
1919 hosted_zone = module. acs . route53_zone
2020 https_certificate_arn = module. acs . certificate . arn
@@ -61,7 +61,7 @@ resource "aws_lambda_function" "test_lambda" {
6161 function_name = " my-lambda-deploy-test"
6262 role = aws_iam_role. test_lambda . arn
6363 handler = " index.handler"
64- runtime = " nodejs12 .x"
64+ runtime = " nodejs20 .x"
6565 timeout = 30
6666 source_code_hash = data. archive_file . cleanup_lambda_zip . output_base64sha256
6767}
You can’t perform that action at this time.
0 commit comments