Skip to content

Commit

Permalink
Merge branch 'lorenyu/secrets' of github.com:navapbc/template-infra i…
Browse files Browse the repository at this point in the history
…nto lorenyu/secrets
  • Loading branch information
lorenyu committed May 26, 2024
2 parents e928a46 + 25131f2 commit c462624
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 c462624

Please sign in to comment.