Skip to content

Commit 9d2d20e

Browse files
authored
Merge pull request #30 from ONS-Innovation/terraform_cost_savings
KEH-360 | Terraform Cost Savings
2 parents 6104a81 + acc7e25 commit 9d2d20e

4 files changed

Lines changed: 15 additions & 21 deletions

File tree

.dockerignore

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
# Virtual Environment
2-
venv/
3-
4-
# .pem file
5-
copilot-usage-dashboard.pem
6-
7-
# aws_lambda_scripts
8-
aws_lambda_scripts
9-
10-
# historic_usage_data file
11-
historic_usage_data.json
12-
13-
# diagrams
14-
diagrams/
15-
16-
# __pycache__
17-
__pycache__/
1+
.github/*
2+
docs/*
3+
lambda_data_logger/*
4+
mkdocs_deployment/*
5+
terraform/*
6+
.gitignore
7+
CODEOWNERS
8+
Makefile
9+
mkdocs_requirements.txt
10+
mkdocs.yml
11+
README.md
12+
venv/*

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ WORKDIR /app
1111
COPY . /app
1212

1313
# Run poetry install --without dev
14-
RUN poetry install --no-root
14+
RUN poetry install --only main --no-root
1515

1616
# Expose the port the app runs on
1717
EXPOSE 8501

terraform/dashboard/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ variable "domain_extension" {
6464
variable "service_cpu" {
6565
description = "Service CPU"
6666
type = string
67-
default = "1024"
67+
default = "256"
6868
}
6969

7070
variable "service_memory" {
7171
description = "Service memory"
7272
type = string
73-
default = "3072"
73+
default = "512"
7474
}
7575

7676
variable "task_count" {

0 commit comments

Comments
 (0)