Skip to content

Commit

Permalink
Merge branch 'main' into lorenyu/secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenyu authored May 22, 2024
2 parents 9d1c076 + a16c624 commit 25131f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
build-and-publish:
name: Build and publish
runs-on: ubuntu-latest
concurrency: ${{ github.action }}-${{ inputs.ref }}
concurrency: ${{ github.workflow }}-${{ github.sha }}

permissions:
contents: read
Expand Down
6 changes: 6 additions & 0 deletions infra/modules/service/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,13 @@ resource "aws_ecs_task_definition" "app" {
portMappings = [
{
containerPort = var.container_port,
hostPort = var.container_port,
protocol = "tcp"
}
],
linuxParameters = {
capabilities = {
add = []
drop = ["ALL"]
},
initProcessEnabled = true
Expand All @@ -114,6 +117,9 @@ resource "aws_ecs_task_definition" "app" {
"awslogs-stream-prefix" = local.log_stream_prefix
}
}
mountPoints = []
systemControls = []
volumesFrom = []
}
])

Expand Down

0 comments on commit 25131f2

Please sign in to comment.