Skip to content

Commit

Permalink
removed s3 info from rds instance
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair.curtis authored and alistair.curtis committed Dec 8, 2023
1 parent bda9ff2 commit a21d369
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"accounts": {
"development": {

"db_enabled": true,
"db_instance_class": "db.t3.small",
"db_user": "admin",
Expand Down
6 changes: 0 additions & 6 deletions terraform/environments/cdpt-chaps/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit a21d369

Please sign in to comment.