diff options
| author | Paul Buetow <paul@buetow.org> | 2023-12-28 22:34:28 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-12-28 22:34:28 +0200 |
| commit | 6fbb197fc400bab9b62bc2ee8c9e48f58ad783ae (patch) | |
| tree | 014ce4ce47b0156309b1d8953c95f806012766da /org-buetow-ecs | |
| parent | 084c9021f9a881388dde4cae7a48cf48a9af1635 (diff) | |
stop
Diffstat (limited to 'org-buetow-ecs')
| -rw-r--r-- | org-buetow-ecs/fluxpostgreservice.tf | 44 | ||||
| -rw-r--r-- | org-buetow-ecs/nginxservice.tf | 2 | ||||
| -rw-r--r-- | org-buetow-ecs/vaultservice.tf | 2 |
3 files changed, 24 insertions, 24 deletions
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 |
