@@ -2,7 +2,7 @@ name: Deploy to ECR and Lambda
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : ["main"]
66 pull_request :
77
88permissions :
@@ -19,10 +19,10 @@ jobs:
1919
2020 steps :
2121 - name : Checkout
22- uses : actions/checkout@v4
22+ uses : actions/checkout@v6
2323
2424 - name : Configure AWS Credentials
25- uses : aws-actions/configure-aws-credentials@v4
25+ uses : aws-actions/configure-aws-credentials@v5
2626 with :
2727 aws-region : ${{ secrets.AWS_REGION }}
2828 role-to-assume : arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/GitHubActionsAccess
@@ -57,16 +57,16 @@ jobs:
5757 cache-to : type=gha,mode=max
5858 provenance : false
5959
60- - uses : actions/cache@v4
60+ - uses : actions/cache@v5
6161 name : Cache TFLint plugin dir
6262 with :
6363 path : ~/.tflint.d/plugins
6464 key : ${{ runner.os }}-tflint-${{ hashFiles('**/.tflint.hcl') }}
6565
66- - uses : terraform-linters/setup-tflint@v4
66+ - uses : terraform-linters/setup-tflint@v6
6767 name : Setup TFLint
6868 with :
69- tflint_version : v0.51.2
69+ tflint_version : v0.60.0
7070
7171 - name : Init TFLint
7272 run : cd ${{ env.TF_DIR }} && tflint --init
@@ -79,15 +79,15 @@ jobs:
7979
8080 - uses : hashicorp/setup-terraform@v3
8181 with :
82- terraform_version : 1.8.5
82+ terraform_version : 1.14.3
8383
8484 - name : Config Terraform plugin cache
8585 run : |
8686 echo 'plugin_cache_dir="$HOME/.terraform.d/plugin-cache"' >~/.terraformrc
8787 mkdir --parents ~/.terraform.d/plugin-cache
8888
8989 - name : Cache Terraform
90- uses : actions/cache@v4
90+ uses : actions/cache@v5
9191 with :
9292 path : |
9393 ~/.terraform.d/plugin-cache
0 commit comments