mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Allow rds access from jump box sg (#5920)
This commit is contained in:
parent
4bcfc9ebd1
commit
3be4c9c353
@ -37,11 +37,12 @@ module "aurora_mysql" { #tfsec:ignore:aws-rds-enable-performance-insights-encryp
|
|||||||
performance_insights_enabled = true
|
performance_insights_enabled = true
|
||||||
enabled_cloudwatch_logs_exports = ["slowquery"]
|
enabled_cloudwatch_logs_exports = ["slowquery"]
|
||||||
|
|
||||||
vpc_id = data.terraform_remote_state.shared.outputs.vpc.vpc_id
|
vpc_id = data.terraform_remote_state.shared.outputs.vpc.vpc_id
|
||||||
vpc_security_group_ids = [aws_security_group.backend.id]
|
vpc_security_group_ids = [aws_security_group.backend.id]
|
||||||
subnets = data.terraform_remote_state.shared.outputs.vpc.database_subnets
|
subnets = data.terraform_remote_state.shared.outputs.vpc.database_subnets
|
||||||
create_security_group = true
|
create_security_group = true
|
||||||
allowed_cidr_blocks = data.terraform_remote_state.shared.outputs.vpc.private_subnets_cidr_blocks
|
allowed_cidr_blocks = data.terraform_remote_state.shared.outputs.vpc.private_subnets_cidr_blocks
|
||||||
|
allowed_security_groups = "sg-0063a978193fdf7ee"
|
||||||
|
|
||||||
replica_count = 1
|
replica_count = 1
|
||||||
replica_scale_enabled = true
|
replica_scale_enabled = true
|
||||||
|
Loading…
Reference in New Issue
Block a user