Skip to content

Commit

Permalink
Merge pull request #9 from geekcell/fix/security-group-version
Browse files Browse the repository at this point in the history
fix: bump security group version
  • Loading branch information
janvt authored Jul 17, 2023
2 parents 0bd6367 + c668b25 commit 55e7cff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ module "basic-example" {
name = var.name
vpc_id = var.vpc_id
vpc_id = var.vpc_id
vpc_private_subnets = var.vpc_private_subnets
vpc_public_subnets = var.vpc_public_subnets
vpc_public_subnets = var.vpc_public_subnets
app_port = var.app_port
}
Expand Down
4 changes: 2 additions & 2 deletions examples/basic-example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ module "basic-example" {

name = var.name

vpc_id = var.vpc_id
vpc_id = var.vpc_id
vpc_private_subnets = var.vpc_private_subnets
vpc_public_subnets = var.vpc_public_subnets
vpc_public_subnets = var.vpc_public_subnets

app_port = var.app_port
}
10 changes: 5 additions & 5 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ module "ecs_container_definition" {
source = "geekcell/ecs-container-definition/aws"
version = "v2.0.0"

name = var.container_name
image = var.container_image
name = var.container_name
image = var.container_image
port_mappings = [
{
container_port = var.container_port
Expand All @@ -104,7 +104,7 @@ module "ecs_container_definition" {

module "ecs_security_group" {
source = "geekcell/security-group/aws"
version = "v1.0.1"
version = "v1.0.2"

name = "${var.name}-ecs"
vpc_id = var.vpc_id
Expand All @@ -131,8 +131,8 @@ module "ecs_task_definition" {
source = "geekcell/ecs-task-definition/aws"
version = "v1.0.1"

name = var.name
container_definitions = [module.ecs_container_definition.hcl]
name = var.name
container_definitions = [module.ecs_container_definition.hcl]
}

resource "aws_ecs_service" "main" {
Expand Down

0 comments on commit 55e7cff

Please sign in to comment.