From 6fbb197fc400bab9b62bc2ee8c9e48f58ad783ae Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 28 Dec 2023 22:34:28 +0200 Subject: stop --- org-buetow-ecs/fluxpostgreservice.tf | 44 ++++++++++++++++++------------------ org-buetow-ecs/nginxservice.tf | 2 +- org-buetow-ecs/vaultservice.tf | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) (limited to 'org-buetow-ecs') diff --git a/org-buetow-ecs/fluxpostgreservice.tf b/org-buetow-ecs/fluxpostgreservice.tf index e6dd3c7..2d70e8f 100644 --- a/org-buetow-ecs/fluxpostgreservice.tf +++ b/org-buetow-ecs/fluxpostgreservice.tf @@ -36,29 +36,29 @@ resource "aws_lb_target_group" "fluxpostgres_tcp" { target_type = "ip" } -resource "aws_route53_record" "a_record_fluxpostgres" { - zone_id = data.terraform_remote_state.base.outputs.buetow_internal_zone_id - name = "fluxpostgres.buetow.internal." - type = "A" - - alias { - name = aws_lb.fluxpostgres_nlb.dns_name - zone_id = aws_lb.fluxpostgres_nlb.zone_id - evaluate_target_health = true - } -} - -resource "aws_route53_record" "aaaa_record_fluxpostgres" { - zone_id = data.terraform_remote_state.base.outputs.buetow_internal_zone_id - name = "fluxpostgres.buetow.internal." - type = "AAAA" +#resource "aws_route53_record" "a_record_fluxpostgres" { +# zone_id = data.terraform_remote_state.base.outputs.buetow_internal_zone_id +# name = "fluxpostgres.buetow.internal." +# type = "A" +# +# alias { +# name = aws_lb.fluxpostgres_nlb.dns_name +# zone_id = aws_lb.fluxpostgres_nlb.zone_id +# evaluate_target_health = true +# } +#} - alias { - name = aws_lb.fluxpostgres_nlb.dns_name - zone_id = aws_lb.fluxpostgres_nlb.zone_id - evaluate_target_health = true - } -} +#resource "aws_route53_record" "aaaa_record_fluxpostgres" { +# zone_id = data.terraform_remote_state.base.outputs.buetow_internal_zone_id +# name = "fluxpostgres.buetow.internal." +# type = "AAAA" +# +# alias { +# name = aws_lb.fluxpostgres_nlb.dns_name +# zone_id = aws_lb.fluxpostgres_nlb.zone_id +# evaluate_target_health = true +# } +#} resource "aws_ecs_task_definition" "fluxpostgres" { family = "fluxpostgres" diff --git a/org-buetow-ecs/nginxservice.tf b/org-buetow-ecs/nginxservice.tf index c092163..453ecb2 100644 --- a/org-buetow-ecs/nginxservice.tf +++ b/org-buetow-ecs/nginxservice.tf @@ -53,7 +53,7 @@ resource "aws_ecs_service" "nginx" { cluster = aws_ecs_cluster.ecs_cluster.id task_definition = aws_ecs_task_definition.nginx.arn launch_type = "FARGATE" - desired_count = 1 + desired_count = 0 load_balancer { target_group_arn = aws_lb_target_group.nginx_tg.arn diff --git a/org-buetow-ecs/vaultservice.tf b/org-buetow-ecs/vaultservice.tf index 2d1fcb1..b2707de 100644 --- a/org-buetow-ecs/vaultservice.tf +++ b/org-buetow-ecs/vaultservice.tf @@ -70,7 +70,7 @@ resource "aws_ecs_service" "vault" { launch_type = "FARGATE" deployment_maximum_percent = 100 deployment_minimum_healthy_percent = 0 - desired_count = 1 + desired_count = 0 load_balancer { target_group_arn = aws_lb_target_group.vault_tg.arn -- cgit v1.2.3