Skip to content

Commit

Permalink
Merge branch 'main' into task/remove-broad-iam-pass-role-permission/C…
Browse files Browse the repository at this point in the history
…DD-2383
  • Loading branch information
A-Ashiq authored Jan 7, 2025
2 parents cba4b22 + f4b9adf commit 307c3c1
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @UKHSA-Internal/data-dashboard-engineers
1 change: 1 addition & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
aws-region: ${{ env.AWS_REGION }}
tools-account-role: ${{ secrets.UHD_TERRAFORM_IAM_ROLE }}

- uses: ./.github/actions/setup-terraform
- uses: ./.github/actions/setup-zsh

- name: Terraform output
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ jobs:
aws-region: ${{ env.AWS_REGION }}
tools-account-role: ${{ secrets.UHD_TERRAFORM_IAM_ROLE }}

- uses: ./.github/actions/setup-terraform
- uses: ./.github/actions/setup-zsh
- uses: ./.github/actions/short-sha

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/well-known-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ jobs:
aws-region: ${{ env.AWS_REGION }}
tools-account-role: ${{ secrets.UHD_TERRAFORM_IAM_ROLE }}

- uses: ./.github/actions/setup-terraform
- uses: ./.github/actions/setup-zsh
- uses: ./.github/actions/well-known-environment-name
with:
Expand Down
11 changes: 6 additions & 5 deletions terraform/20-app/aurora-db.app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ module "aurora_db_app" {
database_name = "cms"
master_username = "api_user"

monitoring_interval = 0
apply_immediately = true
skip_final_snapshot = true
publicly_accessible = local.enable_public_db
deletion_protection = local.use_prod_sizing
monitoring_interval = 0
apply_immediately = true
skip_final_snapshot = true
publicly_accessible = local.enable_public_db
deletion_protection = local.use_prod_sizing
enabled_cloudwatch_logs_exports = ["postgresql"]

instance_class = "db.serverless"
serverlessv2_scaling_configuration = {
Expand Down
8 changes: 5 additions & 3 deletions terraform/20-app/aurora-db.feature-flags.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ module "aurora_db_feature_flags" {
storage_encrypted = true

publicly_accessible = true
deletion_protection = local.use_prod_sizing

manage_master_user_password = true
database_name = "unleash"
master_username = "unleash_user"

monitoring_interval = 60
apply_immediately = true
skip_final_snapshot = true
monitoring_interval = 60
apply_immediately = true
skip_final_snapshot = true
enabled_cloudwatch_logs_exports = ["postgresql"]

instance_class = "db.serverless"
serverlessv2_scaling_configuration = {
Expand Down
2 changes: 1 addition & 1 deletion terraform/20-app/ip-allow-lists.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ locals {
"35.179.30.107/32", # UKHSA test EC2
"18.133.111.70/32", # UKHSA test gateway
"81.108.89.51/32", # Krishna - Macbook
"165.225.197.26/32", # Krishna - Windows
"147.161.236.99/32", # Krishna - Windows
"80.7.227.61/32", # Kiran
"92.234.44.48/32", # Zesh
"51.241.222.137/32", # Temitope Akinsoto
Expand Down

0 comments on commit 307c3c1

Please sign in to comment.