operations: WIP moving API to run as an ECS task.

This commit is contained in:
2021-07-03 01:30:51 -05:00
parent 20e0a0b09e
commit bb89f519e0
7 changed files with 106 additions and 27 deletions

View File

@ -8,6 +8,15 @@ variable "artifact_bucket" {
description = "The aws_s3_bucket object representing the artifact bucket where deployed artifacts, logs, etc. live."
}
variable "cloudfront_ssl_certificate_arn" {
description = "ARN of the managed SSL certificate to use for this environment."
variable "domain_cert_arn" {
description = "ARN for the SSL certificate to use for this environment's configuration."
}
variable "route53_zone" {
description = "Route53 hosted zone for the deployed environments."
}
locals {
app_domain_name = "pm${var.environment == "prod" ? "" : "-${var.environment}"}.jdb-software.com"
api_domain_name = "api.pm${var.environment == "prod" ? "" : "-${var.environment}"}.jdb-software.com"
}