From 9f57541862b9c4f27c2eb66fb014e0712989fb9f Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Tue, 22 Aug 2023 13:43:33 +0530 Subject: [PATCH] fix(terraform): update keys, lockfiles, deployment --- .terraform.lock.hcl | 34 +++++++++++++++++----------------- lambdas/.terraform.lock.hcl | 34 +++++++++++++++++----------------- main.tf | 3 ++- versions.tf | 3 +-- 4 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl index 361a961..b0c0b7e 100644 --- a/.terraform.lock.hcl +++ b/.terraform.lock.hcl @@ -2,25 +2,25 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/hashicorp/aws" { - version = "4.67.0" - constraints = "~> 4.0, ~> 4.41" + version = "5.14.0" + constraints = "~> 5.2" hashes = [ - "h1:5Zfo3GfRSWBaXs4TGQNOflr1XaYj6pRnVJLX5VAjFX4=", - "zh:0843017ecc24385f2b45f2c5fce79dc25b258e50d516877b3affee3bef34f060", - "zh:19876066cfa60de91834ec569a6448dab8c2518b8a71b5ca870b2444febddac6", - "zh:24995686b2ad88c1ffaa242e36eee791fc6070e6144f418048c4ce24d0ba5183", - "zh:4a002990b9f4d6d225d82cb2fb8805789ffef791999ee5d9cb1fef579aeff8f1", - "zh:559a2b5ace06b878c6de3ecf19b94fbae3512562f7a51e930674b16c2f606e29", - "zh:6a07da13b86b9753b95d4d8218f6dae874cf34699bca1470d6effbb4dee7f4b7", - "zh:768b3bfd126c3b77dc975c7c0e5db3207e4f9997cf41aa3385c63206242ba043", - "zh:7be5177e698d4b547083cc738b977742d70ed68487ce6f49ecd0c94dbf9d1362", - "zh:8b562a818915fb0d85959257095251a05c76f3467caa3ba95c583ba5fe043f9b", + "h1:MkK5wbWd3g9MAR+LqyWhqlGXolkrryf6LWkOAtOdG9k=", + "zh:03b80869b97dfca4ce6ee94a005e15ccec4d98af0876084a963963b05c9ab743", + "zh:11d148800fe028fcd10590f0473c5df306e220776e359aa838c2f07e5a89187e", + "zh:15d696cf583dc2917b257891e4a33afe7c3e8f20b63183f510267d709baaaf3d", + "zh:34c41e44534fbbf95a5f89b38404ee52b41c6c70af68f7e63a423b276fbcf797", + "zh:4211d0fd4753f7ba202f3e4a8afb2e03d12112dd4db4f9267c472bd597dc71ca", + "zh:47b6017d0cdd2f62b9e46137de38cd618441f658f8570a8e2687cce7643bf953", + "zh:51785b942d6f588825f4bfa86e05502be8721194b289c474121072e49acff6c3", + "zh:565f76885d41ecfea192b8a2e2f3d4b3dd278790d1d82b204706ae3582d51cf6", + "zh:703d670e1d73360d2533b02dbe9e2e055bf6f36a478cd4d66f2349861575c2ed", + "zh:7e4701f38590c22066da90b75dd92d81a685225d2d222d22425b7ccb26e92b4a", "zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425", - "zh:9c385d03a958b54e2afd5279cd8c7cbdd2d6ca5c7d6a333e61092331f38af7cf", - "zh:b3ca45f2821a89af417787df8289cb4314b273d29555ad3b2a5ab98bb4816b3b", - "zh:da3c317f1db2469615ab40aa6baba63b5643bae7110ff855277a1fb9d8eb4f2c", - "zh:dc6430622a8dc5cdab359a8704aec81d3825ea1d305bbb3bbd032b1c6adfae0c", - "zh:fac0d2ddeadf9ec53da87922f666e1e73a603a611c57bcbc4b86ac2821619b1d", + "zh:ca3449252d70df14ad713d5b95fa0610da8087f12c9deb87beffe788f518d06d", + "zh:e2ed3d6d8c12d3fe56fb03fe272779270a92f6157ade8c3db1c987b83b62e68c", + "zh:f0b07b84a43d1afc3a9790ca699771970525c132fa8551e7b326d1f263414dd1", + "zh:f1d83b3e5a29bae471f9841a4e0153eac5bccedbdece369e2f6186e9044db64e", ] } diff --git a/lambdas/.terraform.lock.hcl b/lambdas/.terraform.lock.hcl index 3f4eb00..a8c819b 100644 --- a/lambdas/.terraform.lock.hcl +++ b/lambdas/.terraform.lock.hcl @@ -2,25 +2,25 @@ # Manual edits may be lost in future updates. provider "registry.terraform.io/hashicorp/aws" { - version = "4.67.0" - constraints = "~> 4.0" + version = "5.14.0" + constraints = "~> 5.2" hashes = [ - "h1:5Zfo3GfRSWBaXs4TGQNOflr1XaYj6pRnVJLX5VAjFX4=", - "zh:0843017ecc24385f2b45f2c5fce79dc25b258e50d516877b3affee3bef34f060", - "zh:19876066cfa60de91834ec569a6448dab8c2518b8a71b5ca870b2444febddac6", - "zh:24995686b2ad88c1ffaa242e36eee791fc6070e6144f418048c4ce24d0ba5183", - "zh:4a002990b9f4d6d225d82cb2fb8805789ffef791999ee5d9cb1fef579aeff8f1", - "zh:559a2b5ace06b878c6de3ecf19b94fbae3512562f7a51e930674b16c2f606e29", - "zh:6a07da13b86b9753b95d4d8218f6dae874cf34699bca1470d6effbb4dee7f4b7", - "zh:768b3bfd126c3b77dc975c7c0e5db3207e4f9997cf41aa3385c63206242ba043", - "zh:7be5177e698d4b547083cc738b977742d70ed68487ce6f49ecd0c94dbf9d1362", - "zh:8b562a818915fb0d85959257095251a05c76f3467caa3ba95c583ba5fe043f9b", + "h1:MkK5wbWd3g9MAR+LqyWhqlGXolkrryf6LWkOAtOdG9k=", + "zh:03b80869b97dfca4ce6ee94a005e15ccec4d98af0876084a963963b05c9ab743", + "zh:11d148800fe028fcd10590f0473c5df306e220776e359aa838c2f07e5a89187e", + "zh:15d696cf583dc2917b257891e4a33afe7c3e8f20b63183f510267d709baaaf3d", + "zh:34c41e44534fbbf95a5f89b38404ee52b41c6c70af68f7e63a423b276fbcf797", + "zh:4211d0fd4753f7ba202f3e4a8afb2e03d12112dd4db4f9267c472bd597dc71ca", + "zh:47b6017d0cdd2f62b9e46137de38cd618441f658f8570a8e2687cce7643bf953", + "zh:51785b942d6f588825f4bfa86e05502be8721194b289c474121072e49acff6c3", + "zh:565f76885d41ecfea192b8a2e2f3d4b3dd278790d1d82b204706ae3582d51cf6", + "zh:703d670e1d73360d2533b02dbe9e2e055bf6f36a478cd4d66f2349861575c2ed", + "zh:7e4701f38590c22066da90b75dd92d81a685225d2d222d22425b7ccb26e92b4a", "zh:9b12af85486a96aedd8d7984b0ff811a4b42e3d88dad1a3fb4c0b580d04fa425", - "zh:9c385d03a958b54e2afd5279cd8c7cbdd2d6ca5c7d6a333e61092331f38af7cf", - "zh:b3ca45f2821a89af417787df8289cb4314b273d29555ad3b2a5ab98bb4816b3b", - "zh:da3c317f1db2469615ab40aa6baba63b5643bae7110ff855277a1fb9d8eb4f2c", - "zh:dc6430622a8dc5cdab359a8704aec81d3825ea1d305bbb3bbd032b1c6adfae0c", - "zh:fac0d2ddeadf9ec53da87922f666e1e73a603a611c57bcbc4b86ac2821619b1d", + "zh:ca3449252d70df14ad713d5b95fa0610da8087f12c9deb87beffe788f518d06d", + "zh:e2ed3d6d8c12d3fe56fb03fe272779270a92f6157ade8c3db1c987b83b62e68c", + "zh:f0b07b84a43d1afc3a9790ca699771970525c132fa8551e7b326d1f263414dd1", + "zh:f1d83b3e5a29bae471f9841a4e0153eac5bccedbdece369e2f6186e9044db64e", ] } diff --git a/main.tf b/main.tf index e7c2b52..a4afdb5 100644 --- a/main.tf +++ b/main.tf @@ -54,7 +54,8 @@ module "runners" { # Use the latest Ubuntu 20.04 AMI from our account # built using the packer template in the packer folder ami_filter = { - name = ["github-runner-ubuntu-focal-amd64-*"] + name = ["github-runner-ubuntu-focal-amd64-*"] + state = ["available"] } ami_owners = [data.aws_caller_identity.current.account_id] enable_userdata = false diff --git a/versions.tf b/versions.tf index 376c182..30ee247 100644 --- a/versions.tf +++ b/versions.tf @@ -1,8 +1,7 @@ terraform { required_providers { aws = { - source = "hashicorp/aws" - version = "~> 4.0" + source = "hashicorp/aws" } local = { source = "hashicorp/local"