Created
April 28, 2021 23:02
-
-
Save thesurlydev/4500eb651f3373ca074471cf38da42d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project = "cats" | |
app "cats-docker" { | |
labels = { | |
"service" = "cats-docker" | |
} | |
build { | |
use "pack" {} | |
} | |
deploy { | |
use "docker" {} | |
} | |
} | |
app "cats-ecs" { | |
build { | |
use "pack" {} | |
registry { | |
use "aws-ecr" { | |
region = "us-west-2" | |
repository = "cats" | |
tag = "latest" | |
} | |
} | |
} | |
deploy { | |
use "aws-ecs" { | |
service_port = 3000 | |
region = "us-west-2" | |
memory = "512" | |
# These are the public subnets in pcs-integ4 AWS account | |
subnets = ["subnet-0093e50ee792b3b6a", "subnet-067fab889738fd421", "subnet-09f5f8a153c38104c"] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment