Skip to content

Commit

Permalink
add rds prepro and prod
Browse files Browse the repository at this point in the history
  • Loading branch information
roncitrus committed Dec 8, 2023
1 parent 852e9db commit d826ffb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
20 changes: 20 additions & 0 deletions terraform/environments/cdpt-chaps/application_variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,30 @@
"container_version": "preproduction"
},
"preproduction": {
"db_enabled": true,
"db_instance_class": "db.t3.xlarge",
"db_user": "admin",
"db_allocated_storage": "75",
"db_name": "chaps-preproduction",
"env_name": "preproduction",
"db_instance_identifier": "chaps-preprod-instance",
"friendly_name": "Chaps preproduction",
"container_instance_type": "windows",
"container_version": "preproduction",
"region": "eu-west-2",
"docker_image_tag": "preproduction"
},
"production": {
"db_enabled": true,
"db_instance_class": "db.m5.xlarge",
"db_user": "admin",
"db_allocated_storage": "100",
"db_name": "chaps-prod",
"env_name": "production",
"db_instance_identifier": "chaps-prod-instance",
"friendly_name": "Chaps Production",
"container_instance_type": "windows",
"container_version": "production",
"region": "eu-west-2",
"docker_image_tag": "production"
}
Expand Down
13 changes: 0 additions & 13 deletions terraform/environments/cdpt-chaps/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,6 @@ resource "aws_iam_role" "rds_s3_access" {
})
}




#------------------------------------------------------------------------------
# S3 Bucket for Database backup files
#------------------------------------------------------------------------------







#------------------------------------------------------------------------------
# KMS setup for RDS
#------------------------------------------------------------------------------
Expand Down

0 comments on commit d826ffb

Please sign in to comment.