Skip to content

Commit

Permalink
Removed the vpc endpoint security from the rds bastion config
Browse files Browse the repository at this point in the history
This was not required for the access to the endpoints.
  • Loading branch information
Stephen James committed Jan 17, 2024
1 parent 86eac45 commit 47f38f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bastion-rds-admin.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module "rds_admin_bastion" {
vpc_id = module.admin_vpc.vpc.vpc_id
vpc_cidr_block = module.admin_vpc.vpc.vpc_cidr_block
private_subnets = module.admin_vpc.public_subnets
security_group_ids = [module.admin.security_group_ids.admin_ecs, module.admin_vpc.endpoints_sg.id]
security_group_ids = [module.admin.security_group_ids.admin_ecs]
ami_name = "diso-devops/bastion/rds-admin/ubuntu-jammy-22.04-amd64-server-1.0.1"
number_of_bastions = 1
assume_role = local.s3-mojo_file_transfer_assume_role_arn
Expand Down
2 changes: 1 addition & 1 deletion bastion-rds-servers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module "rds_servers_bastion" {
vpc_id = module.servers_vpc.vpc.vpc_id
vpc_cidr_block = module.servers_vpc.vpc.vpc_cidr_block
private_subnets = module.servers_vpc.public_subnets
security_group_ids = [module.dhcp.security_group_ids.dhcp_server, module.servers_vpc.endpoints_sg.id]
security_group_ids = [module.dhcp.security_group_ids.dhcp_server]
ami_name = "diso-devops/bastion/rds-admin/ubuntu-jammy-22.04-amd64-server-1.0.1"
number_of_bastions = 1
assume_role = local.s3-mojo_file_transfer_assume_role_arn
Expand Down

0 comments on commit 47f38f1

Please sign in to comment.