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

fix: pin module versions #43

Merged
merged 2 commits into from
Aug 6, 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
34 changes: 17 additions & 17 deletions aws-lambda-tutorial/components/api-gateway/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion aws-lambda-tutorial/components/api-gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ locals {
}

module "api_gateway" {
source = "terraform-aws-modules/apigateway-v2/aws"
source = "terraform-aws-modules/apigateway-v2/aws"
version = "~> 5.1.0"

name = var.name
integrations = local.integrations
Expand Down
34 changes: 17 additions & 17 deletions aws-lambda-tutorial/components/dynamodb-table/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion aws-lambda-tutorial/components/dynamodb-table/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "dynamodb_table" {
source = "terraform-aws-modules/dynamodb-table/aws"
source = "terraform-aws-modules/dynamodb-table/aws"
version = "~> 4.0.0"

name = var.name
hash_key = var.hash_key
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion aws-lambda-tutorial/components/lambda-function/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "lambda_function" {
source = "terraform-aws-modules/lambda/aws"
source = "terraform-aws-modules/lambda/aws"
version = "7.7.0"

function_name = var.function_name
image_uri = var.image_uri
Expand Down
34 changes: 17 additions & 17 deletions byo-vpc-tutorial/components/ecs-service/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions byo-vpc-tutorial/components/ecs-service/alb.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module "ingress" {
source = "terraform-aws-modules/alb/aws"
source = "terraform-aws-modules/alb/aws"
version = "~> 9.10.0"

name = var.service_name
vpc_id = var.vpc_id
Expand Down Expand Up @@ -52,11 +53,11 @@ module "ingress" {

target_groups = {
api = {
name_prefix = "api"
protocol = "HTTP"
backend_port = var.container_port
target_type = "ip"
create_attachment = false
name_prefix = "api"
protocol = "HTTP"
backend_port = var.container_port
target_type = "ip"
create_attachment = false
deregistration_delay = 5
load_balancing_cross_zone_enabled = true

Expand Down
7 changes: 4 additions & 3 deletions byo-vpc-tutorial/components/ecs-service/service.tf
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
module "service" {
source = "terraform-aws-modules/ecs/aws//modules/service"
source = "terraform-aws-modules/ecs/aws//modules/service"
version = "~> 5.11.0"

name = var.service_name
cluster_arn = var.cluster_arn

desired_count = 3
cpu = 1024
memory = 4096
cpu = 1024
memory = 4096

container_definitions = {
api = {
Expand Down
Loading