Skip to content

Commit

Permalink
deleted the cluster with ecs-clsuter with ecs
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavcompanieshouse committed Dec 11, 2024
1 parent 7f208df commit c37c4e5
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions groups/infrastructure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,37 @@ terraform {
}
}

#module "ecs-cluster" {
# source = "[email protected]:companieshouse/terraform-modules//aws/ecs/ecs-cluster?ref=1.0.296"
#
## stack_name = local.stack_name
## name_prefix = local.name_prefix
## environment = var.environment
## aws_profile = var.aws_profile
## vpc_id = data.aws_vpc.vpc.id
## subnet_ids = local.application_subnet_ids
## ec2_key_pair_name = var.ec2_key_pair_name
## ec2_instance_type = var.ec2_instance_type
## ec2_image_id = var.ec2_image_id
## asg_max_instance_count = var.asg_max_instance_count
## asg_min_instance_count = var.asg_min_instance_count
## enable_container_insights = var.enable_container_insights
## asg_desired_instance_count = var.asg_desired_instance_count
## scaledown_schedule = var.asg_scaledown_schedule
## scaleup_schedule = var.asg_scaleup_schedule
## enable_asg_autoscaling = var.enable_asg_autoscaling
## notify_topic_slack_endpoint = local.notify_topic_slack_endpoint
#}

module "secrets" {
source = "[email protected]:companieshouse/terraform-modules//aws/ecs/secrets?ref=1.0.296"
module "ecs-cluster" {
source = "[email protected]:companieshouse/terraform-modules//aws/ecs/ecs-cluster?ref=1.0.296"

environment = var.environment
name_prefix = local.name_prefix
secrets = local.parameter_store_secrets
kms_key_id = data.aws_kms_key.stack_configs.id
stack_name = local.stack_name
name_prefix = local.name_prefix
environment = var.environment
aws_profile = var.aws_profile
vpc_id = data.aws_vpc.vpc.id
subnet_ids = local.application_subnet_ids
ec2_key_pair_name = var.ec2_key_pair_name
ec2_instance_type = var.ec2_instance_type
ec2_image_id = var.ec2_image_id
asg_max_instance_count = var.asg_max_instance_count
asg_min_instance_count = var.asg_min_instance_count
enable_container_insights = var.enable_container_insights
asg_desired_instance_count = var.asg_desired_instance_count
scaledown_schedule = var.asg_scaledown_schedule
scaleup_schedule = var.asg_scaleup_schedule
enable_asg_autoscaling = var.enable_asg_autoscaling
notify_topic_slack_endpoint = local.notify_topic_slack_endpoint
}

#module "secrets" {
# source = "[email protected]:companieshouse/terraform-modules//aws/ecs/secrets?ref=1.0.296"
#
# environment = var.environment
# name_prefix = local.name_prefix
# secrets = local.parameter_store_secrets
# kms_key_id = data.aws_kms_key.stack_configs.id
#}

#module "file_transfer_alb" {
# count = "${var.file_transfer_create_alb == 1 ? 1 : 0}"
#
Expand Down

0 comments on commit c37c4e5

Please sign in to comment.