From a21d36960d46c5fccc0f605d0288732f0da78470 Mon Sep 17 00:00:00 2001 From: "alistair.curtis" Date: Fri, 8 Dec 2023 11:09:24 +0000 Subject: [PATCH] removed s3 info from rds instance --- .../environments/cdpt-chaps/application_variables.json | 1 - terraform/environments/cdpt-chaps/database.tf | 6 ------ 2 files changed, 7 deletions(-) diff --git a/terraform/environments/cdpt-chaps/application_variables.json b/terraform/environments/cdpt-chaps/application_variables.json index 3265756f9ce..03af1a3aeae 100644 --- a/terraform/environments/cdpt-chaps/application_variables.json +++ b/terraform/environments/cdpt-chaps/application_variables.json @@ -1,7 +1,6 @@ { "accounts": { "development": { - "db_enabled": true, "db_instance_class": "db.t3.small", "db_user": "admin", diff --git a/terraform/environments/cdpt-chaps/database.tf b/terraform/environments/cdpt-chaps/database.tf index c73153db908..6fdcda30372 100644 --- a/terraform/environments/cdpt-chaps/database.tf +++ b/terraform/environments/cdpt-chaps/database.tf @@ -12,12 +12,6 @@ resource "aws_db_instance" "database" { username = local.app_data.accounts[local.environment].db_user iam_database_authentication_enabled = true iam_roles = ["arn:aws:iam::613903586696:role/RDS-S3-CrossAccountAccess"] - s3_import { - bucket_name = tp-dbbackups - bucket-prefix = chap-dev - ingestion_role = aws_iam_role.rds_s3_access.arn - source_engine = "sqlserver-web" -} } resource "aws_security_group" "db" {