Skip to content

Commit

Permalink
Update to use docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
HudsonHumphries committed Aug 22, 2024
1 parent b7dfa75 commit 44ad88d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions terraform/ecs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ validate:
# You can modify this to whatever temp credential helper you have if your ~/.aws is using credential_process
# The docker compose file mount ~/.aws into the container for getting AWS credential
# awsl isengard get > creds.env
docker-compose -f validator_docker_compose.yml up
docker compose -f validator_docker_compose.yml up

build:
docker-compose -f validator_docker_compose.yml build
docker compose -f validator_docker_compose.yml build
6 changes: 3 additions & 3 deletions terraform/mock/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ resource "local_file" "write_docker_compose_file" {
resource "null_resource" "run_docker_compose" {
provisioner "local-exec" {
command = <<-EOT
docker-compose -f ${local.docker_compose_path} down
docker-compose -f ${local.docker_compose_path} build
docker-compose -f ${local.docker_compose_path} up -d
docker compose -f ${local.docker_compose_path} down
docker compose -f ${local.docker_compose_path} build
docker compose -f ${local.docker_compose_path} up -d
EOT
}
}
Expand Down
6 changes: 3 additions & 3 deletions terraform/validation/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ resource "local_file" "docker_compose_file" {
resource "null_resource" "validator" {
provisioner "local-exec" {
command = <<-EOT
docker-compose -f ${local.docker_compose_path} down
docker-compose -f ${local.docker_compose_path} build
docker-compose -f ${local.docker_compose_path} up --abort-on-container-exit
docker compose -f ${local.docker_compose_path} down
docker compose -f ${local.docker_compose_path} build
docker compose -f ${local.docker_compose_path} up --abort-on-container-exit
EOT
}

Expand Down

0 comments on commit 44ad88d

Please sign in to comment.