Skip to content

Commit

Permalink
fix: conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentb4 committed Oct 11, 2024
2 parents 91441c1 + f8eae39 commit dcde8b7
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 367 deletions.
11 changes: 6 additions & 5 deletions bastion-load-testing.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ module "load_testing_label" {
}

module "load_testing" {
source = "./modules/bastion"
source = "github.com/ministryofjustice/diso-devops-module-ssm-bastion.git?ref=1fa79052e1e19a9dd3d18953db3db1b80c098986"
ami_owners = ["${var.shared_services_account_id}"]
assume_role = local.s3-mojo_file_transfer_assume_role_arn
number_of_bastions = local.number_of_load_testing_nodes
prefix = module.load_testing_label.id
vpc_id = module.servers_vpc.vpc.vpc_id
subnets = module.servers_vpc.vpc.private_subnets
vpc_cidr_block = module.servers_vpc.vpc.vpc_cidr_block
private_subnets = module.servers_vpc.vpc.private_subnets
number_of_bastions = local.number_of_load_testing_nodes
assume_role = local.s3-mojo_file_transfer_assume_role_arn
vpc_id = module.servers_vpc.vpc.vpc_id
tags = module.load_testing_label.tags

providers = {
Expand Down
15 changes: 8 additions & 7 deletions bastion-rds-admin.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ module "rds_admin_bastion_label" {
}

module "rds_admin_bastion" {
source = "./modules/bastion"
source = "github.com/ministryofjustice/diso-devops-module-ssm-bastion.git?ref=1fa79052e1e19a9dd3d18953db3db1b80c098986"
ami_owners = ["${var.shared_services_account_id}"]
associate_public_ip_address = false
assume_role = local.s3-mojo_file_transfer_assume_role_arn
number_of_bastions = 1
prefix = module.rds_admin_bastion_label.id
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]
number_of_bastions = 1
assume_role = local.s3-mojo_file_transfer_assume_role_arn
associate_public_ip_address = false
subnets = module.admin_vpc.public_subnets
vpc_cidr_block = module.admin_vpc.vpc.vpc_cidr_block
vpc_id = module.admin_vpc.vpc.vpc_id
tags = module.rds_admin_bastion_label.tags

providers = {
Expand Down
15 changes: 8 additions & 7 deletions bastion-rds-servers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ module "rds_servers_bastion_label" {
}

module "rds_servers_bastion" {
source = "./modules/bastion"
source = "github.com/ministryofjustice/diso-devops-module-ssm-bastion.git?ref=1fa79052e1e19a9dd3d18953db3db1b80c098986"
ami_owners = ["${var.shared_services_account_id}"]
associate_public_ip_address = false
assume_role = local.s3-mojo_file_transfer_assume_role_arn
number_of_bastions = 1
prefix = module.rds_servers_bastion_label.id
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]
number_of_bastions = 1
assume_role = local.s3-mojo_file_transfer_assume_role_arn
associate_public_ip_address = false
subnets = module.servers_vpc.public_subnets
vpc_cidr_block = module.servers_vpc.vpc.vpc_cidr_block
vpc_id = module.servers_vpc.vpc.vpc_id
tags = module.rds_servers_bastion_label.tags

providers = {
Expand Down
55 changes: 0 additions & 55 deletions modules/bastion/README.md

This file was deleted.

52 changes: 0 additions & 52 deletions modules/bastion/bastion.tf

This file was deleted.

71 changes: 0 additions & 71 deletions modules/bastion/iam.tf

This file was deleted.

48 changes: 0 additions & 48 deletions modules/bastion/kms.tf

This file was deleted.

3 changes: 0 additions & 3 deletions modules/bastion/outputs.tf

This file was deleted.

10 changes: 0 additions & 10 deletions modules/bastion/policies/bucket_access_policy_template.json

This file was deleted.

18 changes: 0 additions & 18 deletions modules/bastion/security_groups.tf

This file was deleted.

22 changes: 0 additions & 22 deletions modules/bastion/ssm.tf

This file was deleted.

9 changes: 0 additions & 9 deletions modules/bastion/user_data/user_data.sh

This file was deleted.

Loading

0 comments on commit dcde8b7

Please sign in to comment.