Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions infra/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ resource "aws_instance" "itkdb" {
sql_port = var.sql_port
django_allowed_hosts = var.django_allowed_hosts
celery_broker_url = var.celery_broker_url
gis_user_password = var.gis_user_password
})

root_block_device {
Expand Down
5 changes: 5 additions & 0 deletions infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,9 @@ variable "proxy_ecr_image_uri" {
variable "celery_broker_url" {
description = "Broker URL for Celery"
type = string
}

variable "gis_user_password" {
description = "Password for GIS database user"
type = string
}
1 change: 1 addition & 0 deletions infra/user_data.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ SQL_PORT=${sql_port}
ITKDB_ECR_PATH=${web_ecr_image_uri}
ITKDB_PROXY_ECR_PATH=${proxy_ecr_image_uri}
CELERY_BROKER_URL=${celery_broker_url}
GIS_USER_PASSWORD=${gis_user_password}
EOF

echo "Logging in to AWS ECR for web image..."
Expand Down
Loading