Skip to content

Instantly share code, notes, and snippets.

@thesurlydev
Created April 28, 2021 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thesurlydev/4500eb651f3373ca074471cf38da42d1 to your computer and use it in GitHub Desktop.
Save thesurlydev/4500eb651f3373ca074471cf38da42d1 to your computer and use it in GitHub Desktop.
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