JesusFilm / core

JFP DS Engineering Monorepo
https://docs.core.jesusfilm.org/
19 stars 12 forks source link

chore: drop api-tags #3363

Closed tataihono closed 5 months ago

tataihono commented 5 months ago

Description

dropping api-tags

linear[bot] commented 5 months ago

ENG-775 drop api-tags (no-qa)

infracost[bot] commented 5 months ago

💰 Infracost report

Monthly estimate decreased by $108 📉

Changed project Baseline cost Usage cost* Total change New monthly cost
jesusfilm/core/infrastructure -$108 - -$108 (-10%) $1,026

*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.

Estimate details ``` Key: * usage cost, ~ changed, + added, - removed ────────────────────────────────── Project: infrastructure Module path: infrastructure - module.prod.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group Monthly cost depends on usage - Data ingested Monthly cost depends on usage -$0.50 per GB - Archival Storage Monthly cost depends on usage -$0.03 per GB - Insights queries data scanned Monthly cost depends on usage -$0.005 per GB - module.prod.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - module.prod.module.api-nexus.module.ecs-task.aws_route53_record.record Monthly cost depends on usage - Standard queries (first 1B) Monthly cost depends on usage -$0.40 per 1M queries - Latency based routing queries (first 1B) Monthly cost depends on usage -$0.60 per 1M queries - Geo DNS queries (first 1B) Monthly cost depends on usage -$0.70 per 1M queries - module.prod.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group Monthly cost depends on usage - Data ingested Monthly cost depends on usage -$0.50 per GB - Archival Storage Monthly cost depends on usage -$0.03 per GB - Insights queries data scanned Monthly cost depends on usage -$0.005 per GB - module.prod.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - module.prod.module.api-tags.module.ecs-task.aws_route53_record.record Monthly cost depends on usage - Standard queries (first 1B) Monthly cost depends on usage -$0.40 per 1M queries - Latency based routing queries (first 1B) Monthly cost depends on usage -$0.60 per 1M queries - Geo DNS queries (first 1B) Monthly cost depends on usage -$0.70 per 1M queries - module.stage.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group Monthly cost depends on usage - Data ingested Monthly cost depends on usage -$0.50 per GB - Archival Storage Monthly cost depends on usage -$0.03 per GB - Insights queries data scanned Monthly cost depends on usage -$0.005 per GB - module.stage.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - module.stage.module.api-nexus.module.ecs-task.aws_route53_record.record Monthly cost depends on usage - Standard queries (first 1B) Monthly cost depends on usage -$0.40 per 1M queries - Latency based routing queries (first 1B) Monthly cost depends on usage -$0.60 per 1M queries - Geo DNS queries (first 1B) Monthly cost depends on usage -$0.70 per 1M queries - module.stage.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group Monthly cost depends on usage - Data ingested Monthly cost depends on usage -$0.50 per GB - Archival Storage Monthly cost depends on usage -$0.03 per GB - Insights queries data scanned Monthly cost depends on usage -$0.005 per GB - module.stage.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository Monthly cost depends on usage - Storage Monthly cost depends on usage -$0.10 per GB - module.stage.module.api-tags.module.ecs-task.aws_route53_record.record Monthly cost depends on usage - Standard queries (first 1B) Monthly cost depends on usage -$0.40 per 1M queries - Latency based routing queries (first 1B) Monthly cost depends on usage -$0.60 per 1M queries - Geo DNS queries (first 1B) Monthly cost depends on usage -$0.70 per 1M queries - module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service -$18 - Per GB per hour -$3 - Per vCPU per hour -$15 - module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service -$18 - Per GB per hour -$3 - Per vCPU per hour -$15 - module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service -$36 - Per GB per hour -$6 - Per vCPU per hour -$30 - module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service -$36 - Per GB per hour -$6 - Per vCPU per hour -$30 Monthly cost change for jesusfilm/core/infrastructure (Module path: infrastructure) Amount: -$108 ($1,134 → $1,026) Percent: -10% ────────────────────────────────── Key: * usage cost, ~ changed, + added, - removed 8 projects have no cost estimate changes. Run the following command to see their breakdown: infracost breakdown --path=/path/to/code ────────────────────────────────── *Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options. 618 cloud resources were detected: ∙ 131 were estimated ∙ 487 were free Infracost estimate: Monthly estimate decreased by $108 ↓ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓ ┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃ ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫ ┃ jesusfilm/core/infrastructure ┃ -$108 ┃ - ┃ -$108 (-10%) ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ ```

This comment will be updated when code changes.

github-actions[bot] commented 5 months ago
Warnings
:warning: :exclamation: Big PR (1441 changes)
:warning: Is this PR related to a Basecamp issue? If so link it via the PR description - https://3.basecamp.com/3105655/buckets/:projectId/todos/:todoId

(change count - 1441): Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

Generated by :no_entry_sign: dangerJS against 8fd8e43f873d4ca64223d636ce997a3d3eacbff8

jesus-film-bot commented 5 months ago

Ran Plan for dir: infrastructure workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: - destroy Terraform will perform the following actions: # module.prod.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-prod/ae1556aacf21465f" -> null - port = 4006 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.prod.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029/f781d426993ecafd" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029/f781d426993ecafd" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-tags.service.internal", ] -> null } } } # module.prod.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - arn_suffix = "targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-tags-prod-tg" -> null - port = 4006 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-0b722b0a1f7789afd" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmHigh-b244dda2-31e0-40be-8464-8a3cd42b1f0a", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmLow-e9cbaca0-aeb8-4152-b4d8-73873a8a59d3", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:b04ed8a6-4995-4e08-a4de-56c0cd0c368b:resource/ecs/service/jfp-ecs-cluster-prod/api-tags-prod-service:policyName/jfp-cpu-autoscaling-prod" -> null - id = "jfp-cpu-autoscaling-prod" -> null - name = "jfp-cpu-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmHigh-eb79b2d1-1479-4515-a383-925921beebef", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmLow-0254a896-efaf-49e3-b9f7-def45a137d8f", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:b04ed8a6-4995-4e08-a4de-56c0cd0c368b:resource/ecs/service/jfp-ecs-cluster-prod/api-tags-prod-service:policyName/jfp-memory-autoscaling-prod" -> null - id = "jfp-memory-autoscaling-prod" -> null - name = "jfp-memory-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5b04ed8a649954e08a4de56c0cd0c368b" -> null - id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.prod.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-tags-prod-logs" -> null - id = "api-tags-prod-logs" -> null - name = "api-tags-prod-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-tags-prod" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-tags-prod" -> null } # module.prod.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-tags-prod" -> null - id = "jfp-api-tags-prod" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-tags-prod" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-prod" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-prod" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - launch_type = "FARGATE" -> null - name = "api-tags-prod-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod:8" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-tags-prod-app" -> null - container_port = 4006 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-02935fccc551bacd8", ] -> null - subnets = [ - "subnet-02f4c2a33ace122c5", - "subnet-036663ddfdb3b94b0", - "subnet-05c389158df4b940a", ] -> null } } # module.prod.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod:8" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod" -> null - container_definitions = jsonencode( [ - { - cpu = 512 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-prod:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-tags" - dd_source = "nestjs" - dd_tags = "env:prod" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 1024 - mountPoints = [] - name = "jfp-api-tags-prod-app" - portMappings = [ - { - containerPort = 4006 - hostPort = 4006 - protocol = "tcp" }, ] - secrets = [ - { - name = "PG_DATABASE_URL_TAGS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:prod app:api-tags" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-tags-prod-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-tags-prod-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "512" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-tags-prod" -> null - id = "jfp-api-tags-prod" -> null - memory = "1024" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 8 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-tags.service.internal" -> null - id = "Z03223152FHL8WN66TI5X_api-tags_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-tags" -> null - records = [ - "internal-jfp-internal-alb-prod-1581820397.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z03223152FHL8WN66TI5X" -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - data_type = "text" -> null - id = "/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 7 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-stage/846f69021da58f87" -> null - port = 4006 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.stage.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c/392b813456ef5084" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c/392b813456ef5084" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-tags.stage.internal", ] -> null } } } # module.stage.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - arn_suffix = "targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-tags-stage-tg" -> null - port = 4006 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-08eeff0fe23f23079" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmHigh-dc06379b-f510-4292-b92a-0648507212b5", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmLow-4090f0ba-b8ae-4060-bd7a-20dc47a21179", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:e3fb88d4-d16c-4ed3-89a3-805d3f4bb6fb:resource/ecs/service/jfp-ecs-cluster-stage/api-tags-stage-service:policyName/jfp-cpu-autoscaling-stage" -> null - id = "jfp-cpu-autoscaling-stage" -> null - name = "jfp-cpu-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmHigh-daeb1a3a-890e-4bdf-9a2d-8bd0270e9410", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmLow-ee55d5eb-6e33-46fa-9693-0441a6cab276", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:e3fb88d4-d16c-4ed3-89a3-805d3f4bb6fb:resource/ecs/service/jfp-ecs-cluster-stage/api-tags-stage-service:policyName/jfp-memory-autoscaling-stage" -> null - id = "jfp-memory-autoscaling-stage" -> null - name = "jfp-memory-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5e3fb88d4d16c4ed389a3805d3f4bb6fb" -> null - id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.stage.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-tags-stage-logs" -> null - id = "api-tags-stage-logs" -> null - name = "api-tags-stage-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-tags-stage" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-tags-stage" -> null } # module.stage.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-tags-stage" -> null - id = "jfp-api-tags-stage" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-tags-stage" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-stage" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-stage" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - launch_type = "FARGATE" -> null - name = "api-tags-stage-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage:10" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-tags-stage-app" -> null - container_port = 4006 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-087bc43a262c94bc1", ] -> null - subnets = [ - "subnet-01f4e86883462b5ce", - "subnet-062de12e3e3639eff", - "subnet-09cbfc19be5214a8b", ] -> null } } # module.stage.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage:10" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage" -> null - container_definitions = jsonencode( [ - { - cpu = 512 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-stage:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-tags" - dd_source = "nestjs" - dd_tags = "env:stage" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 1024 - mountPoints = [] - name = "jfp-api-tags-stage-app" - portMappings = [ - { - containerPort = 4006 - hostPort = 4006 - protocol = "tcp" }, ] - secrets = [ - { - name = "PG_DATABASE_URL_TAGS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:stage app:api-tags" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-tags-stage-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-tags-stage-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "512" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-tags-stage" -> null - id = "jfp-api-tags-stage" -> null - memory = "1024" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 10 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-tags.stage.internal" -> null - id = "Z056780738DT3AZL6A4WD_api-tags_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-tags" -> null - records = [ - "internal-jfp-internal-alb-stage-154137661.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z056780738DT3AZL6A4WD" -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - data_type = "text" -> null - id = "/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 7 -> null # (2 unchanged attributes hidden) } Plan: 0 to add, 0 to change, 26 to destroy. ```

github-actions[bot] commented 5 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
docs ✅ Ready Visit Preview Tue Sep 3 03:15:16 UTC 2024
github-actions[bot] commented 5 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
arclight ✅ Ready Visit Preview Tue Sep 3 03:15:54 UTC 2024
github-actions[bot] commented 5 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
videos-admin ✅ Ready Visit Preview Tue Sep 3 03:16:07 UTC 2024
github-actions[bot] commented 5 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys ✅ Ready Visit Preview Tue Sep 3 03:22:36 UTC 2024
stage-branch-merger[bot] commented 5 months ago

I see you added the "on stage" label, I'll get this merged to the stage branch!

stage-branch-merger[bot] commented 5 months ago

Merge conflict attempting to merge this into stage. Please fix manually.

jesus-film-bot commented 5 months ago

Ran Plan for dir: infrastructure workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: - destroy Terraform will perform the following actions: # module.prod.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-prod/ae1556aacf21465f" -> null - port = 4007 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.prod.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d/29c672ae5e6444d0" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d/29c672ae5e6444d0" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-nexus.service.internal", ] -> null } } } # module.prod.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - arn_suffix = "targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-nexus-prod-tg" -> null - port = 4007 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-0b722b0a1f7789afd" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmHigh-c388642a-29de-4822-91df-7d31476e4a45", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmLow-ac9d9b29-6471-476e-9387-2a9f1d367ae7", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:ff5f085a-eb03-43f2-a190-112195edf2db:resource/ecs/service/jfp-ecs-cluster-prod/api-nexus-prod-service:policyName/jfp-cpu-autoscaling-prod" -> null - id = "jfp-cpu-autoscaling-prod" -> null - name = "jfp-cpu-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmHigh-d9fd20d2-3595-494c-bb71-a4900411b773", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmLow-91e6c8d1-1dcf-43c7-a27d-85af7cca773a", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:ff5f085a-eb03-43f2-a190-112195edf2db:resource/ecs/service/jfp-ecs-cluster-prod/api-nexus-prod-service:policyName/jfp-memory-autoscaling-prod" -> null - id = "jfp-memory-autoscaling-prod" -> null - name = "jfp-memory-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5ff5f085aeb0343f2a190112195edf2db" -> null - id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.prod.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-nexus-prod-logs" -> null - id = "api-nexus-prod-logs" -> null - name = "api-nexus-prod-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-nexus-prod" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-nexus-prod" -> null } # module.prod.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-nexus-prod" -> null - id = "jfp-api-nexus-prod" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-nexus-prod" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-prod" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-prod" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - launch_type = "FARGATE" -> null - name = "api-nexus-prod-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-prod:4" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-nexus-prod-app" -> null - container_port = 4007 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-02935fccc551bacd8", ] -> null - subnets = [ - "subnet-02f4c2a33ace122c5", - "subnet-036663ddfdb3b94b0", - "subnet-05c389158df4b940a", ] -> null } } # module.prod.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-prod:4" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-prod" -> null - container_definitions = jsonencode( [ - { - cpu = 1024 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-prod:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-nexus" - dd_source = "nestjs" - dd_tags = "env:prod" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 2048 - mountPoints = [] - name = "jfp-api-nexus-prod-app" - portMappings = [ - { - containerPort = 4007 - hostPort = 4007 - protocol = "tcp" }, ] - secrets = [ - { - name = "BUCKET_ACCESS_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" }, - { - name = "BUCKET_ENDPOINT" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ENDPOINT" }, - { - name = "BUCKET_NAME" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_NAME" }, - { - name = "BUCKET_REGION" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_REGION" }, - { - name = "BUCKET_SECRET_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_SECRET_KEY" }, - { - name = "CLOUDFLARE_ACCOUNT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" }, - { - name = "CLOUDFLARE_API_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" }, - { - name = "CLOUDFLARE_STREAM_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" }, - { - name = "FIREBASE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/FIREBASE_API_KEY" }, - { - name = "GOOGLE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_API_KEY" }, - { - name = "GOOGLE_APPLICATION_JSON" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" }, - { - name = "GOOGLE_CLIENT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" }, - { - name = "GOOGLE_CLIENT_SECRET" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" }, - { - name = "PG_DATABASE_URL_NEXUS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" }, - { - name = "REDIS_HOST" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/REDIS_HOST" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:prod app:api-nexus" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-nexus-prod-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-nexus-prod-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "1024" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-nexus-prod" -> null - id = "jfp-api-nexus-prod" -> null - memory = "2048" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 4 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-nexus.service.internal" -> null - id = "Z03223152FHL8WN66TI5X_api-nexus_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-nexus" -> null - records = [ - "internal-jfp-internal-alb-prod-1581820397.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z03223152FHL8WN66TI5X" -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tags_all = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ENDPOINT" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_ENDPOINT" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_ENDPOINT" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ENDPOINT" } -> null - tags_all = { - "name" = "BUCKET_ENDPOINT" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_NAME" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_NAME" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_NAME" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_NAME" } -> null - tags_all = { - "name" = "BUCKET_NAME" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_REGION" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_REGION" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_REGION" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_REGION" } -> null - tags_all = { - "name" = "BUCKET_REGION" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_SECRET_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_SECRET_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_SECRET_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_SECRET_KEY" } -> null - tags_all = { - "name" = "BUCKET_SECRET_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tags_all = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/FIREBASE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/FIREBASE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/FIREBASE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "FIREBASE_API_KEY" } -> null - tags_all = { - "name" = "FIREBASE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_API_KEY" } -> null - tags_all = { - "name" = "GOOGLE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tags_all = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 8 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/REDIS_HOST" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/REDIS_HOST" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/REDIS_HOST" -> null - overwrite = true -> null - tags = { - "name" = "REDIS_HOST" } -> null - tags_all = { - "name" = "REDIS_HOST" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-prod/ae1556aacf21465f" -> null - port = 4006 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.prod.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029/f781d426993ecafd" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029/f781d426993ecafd" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-tags.service.internal", ] -> null } } } # module.prod.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - arn_suffix = "targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-tags-prod-tg" -> null - port = 4006 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-0b722b0a1f7789afd" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmHigh-b244dda2-31e0-40be-8464-8a3cd42b1f0a", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmLow-e9cbaca0-aeb8-4152-b4d8-73873a8a59d3", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:b04ed8a6-4995-4e08-a4de-56c0cd0c368b:resource/ecs/service/jfp-ecs-cluster-prod/api-tags-prod-service:policyName/jfp-cpu-autoscaling-prod" -> null - id = "jfp-cpu-autoscaling-prod" -> null - name = "jfp-cpu-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmHigh-eb79b2d1-1479-4515-a383-925921beebef", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmLow-0254a896-efaf-49e3-b9f7-def45a137d8f", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:b04ed8a6-4995-4e08-a4de-56c0cd0c368b:resource/ecs/service/jfp-ecs-cluster-prod/api-tags-prod-service:policyName/jfp-memory-autoscaling-prod" -> null - id = "jfp-memory-autoscaling-prod" -> null - name = "jfp-memory-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5b04ed8a649954e08a4de56c0cd0c368b" -> null - id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.prod.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-tags-prod-logs" -> null - id = "api-tags-prod-logs" -> null - name = "api-tags-prod-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-tags-prod" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-tags-prod" -> null } # module.prod.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-tags-prod" -> null - id = "jfp-api-tags-prod" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-tags-prod" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-prod" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-prod" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - launch_type = "FARGATE" -> null - name = "api-tags-prod-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod:8" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-tags-prod-app" -> null - container_port = 4006 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-02935fccc551bacd8", ] -> null - subnets = [ - "subnet-02f4c2a33ace122c5", - "subnet-036663ddfdb3b94b0", - "subnet-05c389158df4b940a", ] -> null } } # module.prod.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod:8" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod" -> null - container_definitions = jsonencode( [ - { - cpu = 512 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-prod:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-tags" - dd_source = "nestjs" - dd_tags = "env:prod" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 1024 - mountPoints = [] - name = "jfp-api-tags-prod-app" - portMappings = [ - { - containerPort = 4006 - hostPort = 4006 - protocol = "tcp" }, ] - secrets = [ - { - name = "PG_DATABASE_URL_TAGS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:prod app:api-tags" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-tags-prod-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-tags-prod-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ```


Warning: Output length greater than max comment size. Continued in next comment.

jesus-film-bot commented 5 months ago

Continued plan output from previous comment.

Show Output ```diff ) -> null - cpu = "512" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-tags-prod" -> null - id = "jfp-api-tags-prod" -> null - memory = "1024" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 8 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-tags.service.internal" -> null - id = "Z03223152FHL8WN66TI5X_api-tags_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-tags" -> null - records = [ - "internal-jfp-internal-alb-prod-1581820397.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z03223152FHL8WN66TI5X" -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - data_type = "text" -> null - id = "/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 7 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-stage/846f69021da58f87" -> null - port = 4007 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.stage.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1/1986f0c9dc578eb3" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1/1986f0c9dc578eb3" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-nexus.stage.internal", ] -> null } } } # module.stage.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - arn_suffix = "targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-nexus-stage-tg" -> null - port = 4007 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-08eeff0fe23f23079" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmHigh-c3eca964-f563-4f5b-883d-8ea2489a051a", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmLow-e35cab83-886f-4fa4-9135-2eca68723d4f", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:78f25a81-9dc5-42ce-a174-997ce9b0e017:resource/ecs/service/jfp-ecs-cluster-stage/api-nexus-stage-service:policyName/jfp-cpu-autoscaling-stage" -> null - id = "jfp-cpu-autoscaling-stage" -> null - name = "jfp-cpu-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmHigh-b249a41c-c074-44ad-9310-cbf3489507e2", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmLow-2b4510e6-fd32-4f10-ae07-798aaf2e6a4e", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:78f25a81-9dc5-42ce-a174-997ce9b0e017:resource/ecs/service/jfp-ecs-cluster-stage/api-nexus-stage-service:policyName/jfp-memory-autoscaling-stage" -> null - id = "jfp-memory-autoscaling-stage" -> null - name = "jfp-memory-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec578f25a819dc542cea174997ce9b0e017" -> null - id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.stage.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-nexus-stage-logs" -> null - id = "api-nexus-stage-logs" -> null - name = "api-nexus-stage-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-nexus-stage" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-nexus-stage" -> null } # module.stage.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-nexus-stage" -> null - id = "jfp-api-nexus-stage" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-nexus-stage" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-stage" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-stage" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - launch_type = "FARGATE" -> null - name = "api-nexus-stage-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-stage:6" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-nexus-stage-app" -> null - container_port = 4007 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-087bc43a262c94bc1", ] -> null - subnets = [ - "subnet-01f4e86883462b5ce", - "subnet-062de12e3e3639eff", - "subnet-09cbfc19be5214a8b", ] -> null } } # module.stage.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-stage:6" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-stage" -> null - container_definitions = jsonencode( [ - { - cpu = 1024 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-stage:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-nexus" - dd_source = "nestjs" - dd_tags = "env:stage" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 2048 - mountPoints = [] - name = "jfp-api-nexus-stage-app" - portMappings = [ - { - containerPort = 4007 - hostPort = 4007 - protocol = "tcp" }, ] - secrets = [ - { - name = "BUCKET_ACCESS_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" }, - { - name = "BUCKET_ENDPOINT" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ENDPOINT" }, - { - name = "BUCKET_NAME" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_NAME" }, - { - name = "BUCKET_REGION" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_REGION" }, - { - name = "BUCKET_SECRET_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_SECRET_KEY" }, - { - name = "CLOUDFLARE_ACCOUNT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" }, - { - name = "CLOUDFLARE_API_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" }, - { - name = "CLOUDFLARE_STREAM_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" }, - { - name = "FIREBASE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/FIREBASE_API_KEY" }, - { - name = "GOOGLE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_API_KEY" }, - { - name = "GOOGLE_APPLICATION_JSON" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" }, - { - name = "GOOGLE_CLIENT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" }, - { - name = "GOOGLE_CLIENT_SECRET" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" }, - { - name = "PG_DATABASE_URL_NEXUS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" }, - { - name = "REDIS_HOST" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/REDIS_HOST" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:stage app:api-nexus" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-nexus-stage-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-nexus-stage-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "1024" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-nexus-stage" -> null - id = "jfp-api-nexus-stage" -> null - memory = "2048" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 6 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-nexus.stage.internal" -> null - id = "Z056780738DT3AZL6A4WD_api-nexus_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-nexus" -> null - records = [ - "internal-jfp-internal-alb-stage-154137661.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z056780738DT3AZL6A4WD" -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tags_all = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ENDPOINT" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_ENDPOINT" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_ENDPOINT" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ENDPOINT" } -> null - tags_all = { - "name" = "BUCKET_ENDPOINT" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_NAME" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_NAME" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_NAME" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_NAME" } -> null - tags_all = { - "name" = "BUCKET_NAME" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_REGION" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_REGION" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_REGION" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_REGION" } -> null - tags_all = { - "name" = "BUCKET_REGION" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_SECRET_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_SECRET_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_SECRET_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_SECRET_KEY" } -> null - tags_all = { - "name" = "BUCKET_SECRET_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tags_all = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/FIREBASE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/FIREBASE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/FIREBASE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "FIREBASE_API_KEY" } -> null - tags_all = { - "name" = "FIREBASE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_API_KEY" } -> null - tags_all = { - "name" = "GOOGLE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tags_all = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 8 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/REDIS_HOST" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/REDIS_HOST" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/REDIS_HOST" -> null - overwrite = true -> null - tags = { - "name" = "REDIS_HOST" } -> null - tags_all = { - "name" = "REDIS_HOST" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-stage/846f69021da58f87" -> null - port = 4006 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.stage.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c/392b813456ef5084" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c/392b813456ef5084" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-tags.stage.internal", ] -> null } } } # module.stage.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - arn_suffix = "targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-tags-stage-tg" -> null - port = 4006 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-08eeff0fe23f23079" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmHigh-dc06379b-f510-4292-b92a-0648507212b5", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmLow-4090f0ba-b8ae-4060-bd7a-20dc47a21179", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:e3fb88d4-d16c-4ed3-89a3-805d3f4bb6fb:resource/ecs/service/jfp-ecs-cluster-stage/api-tags-stage-service:policyName/jfp-cpu-autoscaling-stage" -> null - id = "jfp-cpu-autoscaling-stage" -> null - name = "jfp-cpu-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmHigh-daeb1a3a-890e-4bdf-9a2d-8bd0270e9410", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmLow-ee55d5eb-6e33-46fa-9693-0441a6cab276", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:e3fb88d4-d16c-4ed3-89a3-805d3f4bb6fb:resource/ecs/service/jfp-ecs-cluster-stage/api-tags-stage-service:policyName/jfp-memory-autoscaling-stage" -> null - id = "jfp-memory-autoscaling-stage" -> null - name = "jfp-memory-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5e3fb88d4d16c4ed389a3805d3f4bb6fb" -> null - id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.stage.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-tags-stage-logs" -> null - id = "api-tags-stage-logs" -> null - name = "api-tags-stage-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-tags-stage" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-tags-stage" -> null } # module.stage.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-tags-stage" -> null - id = "jfp-api-tags-stage" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-tags-stage" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-stage" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-stage" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - launch_type = "FARGATE" -> null - name = "api-tags-stage-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage:10" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-tags-stage-app" -> null - container_port = 4006 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-087bc43a262c94bc1", ] -> null - subnets = [ - "subnet-01f4e86883462b5ce", - "subnet-062de12e3e3639eff", - "subnet-09cbfc19be5214a8b", ] -> null } } # module.stage.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage:10" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage" -> null - container_definitions = jsonencode( [ - { - cpu = 512 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-stage:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-tags" - dd_source = "nestjs" - dd_tags = "env:stage" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 1024 - mountPoints = [] - name = "jfp-api-tags-stage-app" - portMappings = [ - { - containerPort = 4006 - hostPort = 4006 - protocol = "tcp" }, ] - secrets = [ - { - name = "PG_DATABASE_URL_TAGS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:stage app:api-tags" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { ```


Warning: Output length greater than max comment size. Continued in next comment.

jesus-film-bot commented 5 months ago

Continued plan output from previous comment.

Show Output ```diff - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-tags-stage-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-tags-stage-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "512" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-tags-stage" -> null - id = "jfp-api-tags-stage" -> null - memory = "1024" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 10 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-tags.stage.internal" -> null - id = "Z056780738DT3AZL6A4WD_api-tags_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-tags" -> null - records = [ - "internal-jfp-internal-alb-stage-154137661.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z056780738DT3AZL6A4WD" -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - data_type = "text" -> null - id = "/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 7 -> null # (2 unchanged attributes hidden) } Plan: 0 to add, 0 to change, 80 to destroy. ```

tataihono commented 5 months ago

atlantis plan

github-actions[bot] commented 5 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
watch ✅ Ready Visit Preview Tue Sep 3 03:22:01 UTC 2024
github-actions[bot] commented 5 months ago

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys-admin ✅ Ready Visit Preview Tue Sep 3 03:22:50 UTC 2024
jesus-film-bot commented 5 months ago

Ran Plan for dir: infrastructure workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: - destroy Terraform will perform the following actions: # module.prod.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-prod/ae1556aacf21465f" -> null - port = 4007 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.prod.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d/29c672ae5e6444d0" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d/29c672ae5e6444d0" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-nexus.service.internal", ] -> null } } } # module.prod.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - arn_suffix = "targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-nexus-prod-tg" -> null - port = 4007 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-0b722b0a1f7789afd" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmHigh-c388642a-29de-4822-91df-7d31476e4a45", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmLow-ac9d9b29-6471-476e-9387-2a9f1d367ae7", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:ff5f085a-eb03-43f2-a190-112195edf2db:resource/ecs/service/jfp-ecs-cluster-prod/api-nexus-prod-service:policyName/jfp-cpu-autoscaling-prod" -> null - id = "jfp-cpu-autoscaling-prod" -> null - name = "jfp-cpu-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmHigh-d9fd20d2-3595-494c-bb71-a4900411b773", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-nexus-prod-service-AlarmLow-91e6c8d1-1dcf-43c7-a27d-85af7cca773a", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:ff5f085a-eb03-43f2-a190-112195edf2db:resource/ecs/service/jfp-ecs-cluster-prod/api-nexus-prod-service:policyName/jfp-memory-autoscaling-prod" -> null - id = "jfp-memory-autoscaling-prod" -> null - name = "jfp-memory-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5ff5f085aeb0343f2a190112195edf2db" -> null - id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.prod.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-nexus-prod-logs" -> null - id = "api-nexus-prod-logs" -> null - name = "api-nexus-prod-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-nexus-prod" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-nexus-prod" -> null } # module.prod.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-nexus-prod" -> null - id = "jfp-api-nexus-prod" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-nexus-prod" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-prod" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-prod" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-prod/api-nexus-prod-service" -> null - launch_type = "FARGATE" -> null - name = "api-nexus-prod-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-prod:4" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-nexus-prod-app" -> null - container_port = 4007 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-02935fccc551bacd8", ] -> null - subnets = [ - "subnet-02f4c2a33ace122c5", - "subnet-036663ddfdb3b94b0", - "subnet-05c389158df4b940a", ] -> null } } # module.prod.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-prod:4" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-prod" -> null - container_definitions = jsonencode( [ - { - cpu = 1024 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-prod:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-nexus" - dd_source = "nestjs" - dd_tags = "env:prod" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 2048 - mountPoints = [] - name = "jfp-api-nexus-prod-app" - portMappings = [ - { - containerPort = 4007 - hostPort = 4007 - protocol = "tcp" }, ] - secrets = [ - { - name = "BUCKET_ACCESS_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" }, - { - name = "BUCKET_ENDPOINT" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ENDPOINT" }, - { - name = "BUCKET_NAME" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_NAME" }, - { - name = "BUCKET_REGION" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_REGION" }, - { - name = "BUCKET_SECRET_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_SECRET_KEY" }, - { - name = "CLOUDFLARE_ACCOUNT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" }, - { - name = "CLOUDFLARE_API_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" }, - { - name = "CLOUDFLARE_STREAM_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" }, - { - name = "FIREBASE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/FIREBASE_API_KEY" }, - { - name = "GOOGLE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_API_KEY" }, - { - name = "GOOGLE_APPLICATION_JSON" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" }, - { - name = "GOOGLE_CLIENT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" }, - { - name = "GOOGLE_CLIENT_SECRET" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" }, - { - name = "PG_DATABASE_URL_NEXUS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" }, - { - name = "REDIS_HOST" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/REDIS_HOST" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:prod app:api-nexus" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-nexus-prod-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-nexus-prod-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "1024" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-nexus-prod" -> null - id = "jfp-api-nexus-prod" -> null - memory = "2048" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 4 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-nexus.service.internal" -> null - id = "Z03223152FHL8WN66TI5X_api-nexus_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-nexus" -> null - records = [ - "internal-jfp-internal-alb-prod-1581820397.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z03223152FHL8WN66TI5X" -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_ACCESS_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tags_all = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_ENDPOINT" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_ENDPOINT" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_ENDPOINT" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ENDPOINT" } -> null - tags_all = { - "name" = "BUCKET_ENDPOINT" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_NAME" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_NAME" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_NAME" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_NAME" } -> null - tags_all = { - "name" = "BUCKET_NAME" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_REGION" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_REGION" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_REGION" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_REGION" } -> null - tags_all = { - "name" = "BUCKET_REGION" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/BUCKET_SECRET_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/BUCKET_SECRET_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/BUCKET_SECRET_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_SECRET_KEY" } -> null - tags_all = { - "name" = "BUCKET_SECRET_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tags_all = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/FIREBASE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/FIREBASE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/FIREBASE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "FIREBASE_API_KEY" } -> null - tags_all = { - "name" = "FIREBASE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_API_KEY" } -> null - tags_all = { - "name" = "GOOGLE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tags_all = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_CLIENT_ID" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 8 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/prod/REDIS_HOST" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/prod/REDIS_HOST" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/prod/REDIS_HOST" -> null - overwrite = true -> null - tags = { - "name" = "REDIS_HOST" } -> null - tags_all = { - "name" = "REDIS_HOST" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-prod/ae1556aacf21465f" -> null - port = 4006 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.prod.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029/f781d426993ecafd" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029/f781d426993ecafd" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-tags.service.internal", ] -> null } } } # module.prod.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - arn_suffix = "targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-tags-prod-tg" -> null - port = 4006 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-0b722b0a1f7789afd" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmHigh-b244dda2-31e0-40be-8464-8a3cd42b1f0a", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmLow-e9cbaca0-aeb8-4152-b4d8-73873a8a59d3", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:b04ed8a6-4995-4e08-a4de-56c0cd0c368b:resource/ecs/service/jfp-ecs-cluster-prod/api-tags-prod-service:policyName/jfp-cpu-autoscaling-prod" -> null - id = "jfp-cpu-autoscaling-prod" -> null - name = "jfp-cpu-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmHigh-eb79b2d1-1479-4515-a383-925921beebef", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-prod/api-tags-prod-service-AlarmLow-0254a896-efaf-49e3-b9f7-def45a137d8f", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:b04ed8a6-4995-4e08-a4de-56c0cd0c368b:resource/ecs/service/jfp-ecs-cluster-prod/api-tags-prod-service:policyName/jfp-memory-autoscaling-prod" -> null - id = "jfp-memory-autoscaling-prod" -> null - name = "jfp-memory-autoscaling-prod" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5b04ed8a649954e08a4de56c0cd0c368b" -> null - id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.prod.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-tags-prod-logs" -> null - id = "api-tags-prod-logs" -> null - name = "api-tags-prod-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-tags-prod" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-tags-prod" -> null } # module.prod.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-tags-prod" -> null - id = "jfp-api-tags-prod" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-tags-prod" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-prod" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-prod" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-prod/api-tags-prod-service" -> null - launch_type = "FARGATE" -> null - name = "api-tags-prod-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod:8" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-tags-prod-app" -> null - container_port = 4006 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-02935fccc551bacd8", ] -> null - subnets = [ - "subnet-02f4c2a33ace122c5", - "subnet-036663ddfdb3b94b0", - "subnet-05c389158df4b940a", ] -> null } } # module.prod.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod:8" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-prod" -> null - container_definitions = jsonencode( [ - { - cpu = 512 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-prod:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-tags" - dd_source = "nestjs" - dd_tags = "env:prod" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 1024 - mountPoints = [] - name = "jfp-api-tags-prod-app" - portMappings = [ - { - containerPort = 4006 - hostPort = 4006 - protocol = "tcp" }, ] - secrets = [ - { - name = "PG_DATABASE_URL_TAGS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:prod app:api-tags" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-tags-prod-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-prod-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-tags-prod-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ```


Warning: Output length greater than max comment size. Continued in next comment.

jesus-film-bot commented 5 months ago

Continued plan output from previous comment.

Show Output ```diff ) -> null - cpu = "512" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-tags-prod" -> null - id = "jfp-api-tags-prod" -> null - memory = "1024" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 8 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-tags.service.internal" -> null - id = "Z03223152FHL8WN66TI5X_api-tags_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-tags" -> null - records = [ - "internal-jfp-internal-alb-prod-1581820397.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z03223152FHL8WN66TI5X" -> null # (2 unchanged attributes hidden) } # module.prod.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - data_type = "text" -> null - id = "/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-tags/prod/PG_DATABASE_URL_TAGS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 7 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-stage/846f69021da58f87" -> null - port = 4007 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.stage.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1/1986f0c9dc578eb3" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1/1986f0c9dc578eb3" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-nexus.stage.internal", ] -> null } } } # module.stage.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - arn_suffix = "targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-nexus-stage-tg" -> null - port = 4007 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-08eeff0fe23f23079" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmHigh-c3eca964-f563-4f5b-883d-8ea2489a051a", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmLow-e35cab83-886f-4fa4-9135-2eca68723d4f", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:78f25a81-9dc5-42ce-a174-997ce9b0e017:resource/ecs/service/jfp-ecs-cluster-stage/api-nexus-stage-service:policyName/jfp-cpu-autoscaling-stage" -> null - id = "jfp-cpu-autoscaling-stage" -> null - name = "jfp-cpu-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmHigh-b249a41c-c074-44ad-9310-cbf3489507e2", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-nexus-stage-service-AlarmLow-2b4510e6-fd32-4f10-ae07-798aaf2e6a4e", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:78f25a81-9dc5-42ce-a174-997ce9b0e017:resource/ecs/service/jfp-ecs-cluster-stage/api-nexus-stage-service:policyName/jfp-memory-autoscaling-stage" -> null - id = "jfp-memory-autoscaling-stage" -> null - name = "jfp-memory-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec578f25a819dc542cea174997ce9b0e017" -> null - id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.stage.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-nexus-stage-logs" -> null - id = "api-nexus-stage-logs" -> null - name = "api-nexus-stage-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-nexus-stage" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-nexus-stage" -> null } # module.stage.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-nexus-stage" -> null - id = "jfp-api-nexus-stage" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-nexus-stage" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-stage" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-stage" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-nexus-stage-service" -> null - launch_type = "FARGATE" -> null - name = "api-nexus-stage-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-stage:6" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-nexus-stage-app" -> null - container_port = 4007 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-087bc43a262c94bc1", ] -> null - subnets = [ - "subnet-01f4e86883462b5ce", - "subnet-062de12e3e3639eff", - "subnet-09cbfc19be5214a8b", ] -> null } } # module.stage.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-stage:6" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-nexus-stage" -> null - container_definitions = jsonencode( [ - { - cpu = 1024 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-nexus-stage:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-nexus" - dd_source = "nestjs" - dd_tags = "env:stage" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 2048 - mountPoints = [] - name = "jfp-api-nexus-stage-app" - portMappings = [ - { - containerPort = 4007 - hostPort = 4007 - protocol = "tcp" }, ] - secrets = [ - { - name = "BUCKET_ACCESS_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" }, - { - name = "BUCKET_ENDPOINT" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ENDPOINT" }, - { - name = "BUCKET_NAME" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_NAME" }, - { - name = "BUCKET_REGION" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_REGION" }, - { - name = "BUCKET_SECRET_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_SECRET_KEY" }, - { - name = "CLOUDFLARE_ACCOUNT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" }, - { - name = "CLOUDFLARE_API_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" }, - { - name = "CLOUDFLARE_STREAM_TOKEN" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" }, - { - name = "FIREBASE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/FIREBASE_API_KEY" }, - { - name = "GOOGLE_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_API_KEY" }, - { - name = "GOOGLE_APPLICATION_JSON" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" }, - { - name = "GOOGLE_CLIENT_ID" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" }, - { - name = "GOOGLE_CLIENT_SECRET" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" }, - { - name = "PG_DATABASE_URL_NEXUS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" }, - { - name = "REDIS_HOST" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/REDIS_HOST" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:stage app:api-nexus" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-nexus-stage-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-nexus-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-nexus-stage-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "1024" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-nexus-stage" -> null - id = "jfp-api-nexus-stage" -> null - memory = "2048" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 6 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-nexus.stage.internal" -> null - id = "Z056780738DT3AZL6A4WD_api-nexus_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-nexus" -> null - records = [ - "internal-jfp-internal-alb-stage-154137661.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z056780738DT3AZL6A4WD" -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_ACCESS_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tags_all = { - "name" = "BUCKET_ACCESS_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_ENDPOINT" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_ENDPOINT" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_ENDPOINT" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_ENDPOINT" } -> null - tags_all = { - "name" = "BUCKET_ENDPOINT" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_NAME" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_NAME" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_NAME" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_NAME" } -> null - tags_all = { - "name" = "BUCKET_NAME" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_REGION" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_REGION" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_REGION" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_REGION" } -> null - tags_all = { - "name" = "BUCKET_REGION" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/BUCKET_SECRET_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/BUCKET_SECRET_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/BUCKET_SECRET_KEY" -> null - overwrite = true -> null - tags = { - "name" = "BUCKET_SECRET_KEY" } -> null - tags_all = { - "name" = "BUCKET_SECRET_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tags_all = { - "name" = "CLOUDFLARE_ACCOUNT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_API_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN" -> null - overwrite = true -> null - tags = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tags_all = { - "name" = "CLOUDFLARE_STREAM_TOKEN" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/FIREBASE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/FIREBASE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/FIREBASE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "FIREBASE_API_KEY" } -> null - tags_all = { - "name" = "FIREBASE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 2 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_API_KEY" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_API_KEY" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_API_KEY" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_API_KEY" } -> null - tags_all = { - "name" = "GOOGLE_API_KEY" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tags_all = { - "name" = "GOOGLE_APPLICATION_JSON" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_CLIENT_ID" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_ID" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET" -> null - overwrite = true -> null - tags = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tags_all = { - "name" = "GOOGLE_CLIENT_SECRET" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 4 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_NEXUS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 8 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-nexus/stage/REDIS_HOST" -> null - data_type = "text" -> null - id = "/ecs/api-nexus/stage/REDIS_HOST" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-nexus/stage/REDIS_HOST" -> null - overwrite = true -> null - tags = { - "name" = "REDIS_HOST" } -> null - tags_all = { - "name" = "REDIS_HOST" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 3 -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener will be destroyed # (because aws_alb_listener.alb_listener is not in configuration) - resource "aws_alb_listener" "alb_listener" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:loadbalancer/app/jfp-internal-alb-stage/846f69021da58f87" -> null - port = 4006 -> null - protocol = "HTTP" -> null - tags = {} -> null - tags_all = {} -> null # (1 unchanged attribute hidden) - default_action { - order = 1 -> null - type = "fixed-response" -> null # (1 unchanged attribute hidden) - fixed_response { - content_type = "text/plain" -> null - message_body = "No routes defined" -> null - status_code = "200" -> null } } } # module.stage.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule will be destroyed # (because aws_alb_listener_rule.alb_listener_rule is not in configuration) - resource "aws_alb_listener_rule" "alb_listener_rule" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c/392b813456ef5084" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c/392b813456ef5084" -> null - listener_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c" -> null - priority = 1 -> null - tags = {} -> null - tags_all = {} -> null - action { - order = 1 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - type = "forward" -> null } - condition { - host_header { - values = [ - "api-tags.stage.internal", ] -> null } } } # module.stage.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group will be destroyed # (because aws_alb_target_group.alb_target_group is not in configuration) - resource "aws_alb_target_group" "alb_target_group" { - arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - arn_suffix = "targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - connection_termination = false -> null - deregistration_delay = "300" -> null - id = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null - ip_address_type = "ipv4" -> null - lambda_multi_value_headers_enabled = false -> null - load_balancing_algorithm_type = "round_robin" -> null - load_balancing_cross_zone_enabled = "use_load_balancer_configuration" -> null - name = "api-tags-stage-tg" -> null - port = 4006 -> null - protocol = "HTTP" -> null - protocol_version = "HTTP1" -> null - proxy_protocol_v2 = false -> null - slow_start = 0 -> null - tags = {} -> null - tags_all = {} -> null - target_type = "ip" -> null - vpc_id = "vpc-08eeff0fe23f23079" -> null - health_check { - enabled = true -> null - healthy_threshold = 2 -> null - interval = 5 -> null - matcher = "200" -> null - path = "/.well-known/apollo/server-health" -> null - port = "traffic-port" -> null - protocol = "HTTP" -> null - timeout = 4 -> null - unhealthy_threshold = 3 -> null } - stickiness { - cookie_duration = 86400 -> null - enabled = false -> null - type = "lb_cookie" -> null # (1 unchanged attribute hidden) } - target_failover {} } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu will be destroyed # (because aws_appautoscaling_policy.ecs_policy_cpu is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_cpu" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmHigh-dc06379b-f510-4292-b92a-0648507212b5", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmLow-4090f0ba-b8ae-4060-bd7a-20dc47a21179", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:e3fb88d4-d16c-4ed3-89a3-805d3f4bb6fb:resource/ecs/service/jfp-ecs-cluster-stage/api-tags-stage-service:policyName/jfp-cpu-autoscaling-stage" -> null - id = "jfp-cpu-autoscaling-stage" -> null - name = "jfp-cpu-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageCPUUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory will be destroyed # (because aws_appautoscaling_policy.ecs_policy_memory is not in configuration) - resource "aws_appautoscaling_policy" "ecs_policy_memory" { - alarm_arns = [ - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmHigh-daeb1a3a-890e-4bdf-9a2d-8bd0270e9410", - "arn:aws:cloudwatch:us-east-2:410965620680:alarm:TargetTracking-service/jfp-ecs-cluster-stage/api-tags-stage-service-AlarmLow-ee55d5eb-6e33-46fa-9693-0441a6cab276", ] -> null - arn = "arn:aws:autoscaling:us-east-2:410965620680:scalingPolicy:e3fb88d4-d16c-4ed3-89a3-805d3f4bb6fb:resource/ecs/service/jfp-ecs-cluster-stage/api-tags-stage-service:policyName/jfp-memory-autoscaling-stage" -> null - id = "jfp-memory-autoscaling-stage" -> null - name = "jfp-memory-autoscaling-stage" -> null - policy_type = "TargetTrackingScaling" -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - target_tracking_scaling_policy_configuration { - disable_scale_in = false -> null - scale_in_cooldown = 0 -> null - scale_out_cooldown = 0 -> null - target_value = 75 -> null - predefined_metric_specification { - predefined_metric_type = "ECSServiceAverageMemoryUtilization" -> null # (1 unchanged attribute hidden) } } } # module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling will be destroyed # (because aws_appautoscaling_target.service_autoscaling is not in configuration) - resource "aws_appautoscaling_target" "service_autoscaling" { - arn = "arn:aws:application-autoscaling:us-east-2:410965620680:scalable-target/0ec5e3fb88d4d16c4ed389a3805d3f4bb6fb" -> null - id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - max_capacity = 2 -> null - min_capacity = 1 -> null - resource_id = "service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - role_arn = "arn:aws:iam::410965620680:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService" -> null - scalable_dimension = "ecs:service:DesiredCount" -> null - service_namespace = "ecs" -> null - tags = {} -> null - tags_all = {} -> null } # module.stage.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group will be destroyed # (because aws_cloudwatch_log_group.ecs_cw_log_group is not in configuration) - resource "aws_cloudwatch_log_group" "ecs_cw_log_group" { - arn = "arn:aws:logs:us-east-2:410965620680:log-group:api-tags-stage-logs" -> null - id = "api-tags-stage-logs" -> null - name = "api-tags-stage-logs" -> null - retention_in_days = 0 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy will be destroyed # (because aws_ecr_lifecycle_policy.ecr_policy is not in configuration) - resource "aws_ecr_lifecycle_policy" "ecr_policy" { - id = "jfp-api-tags-stage" -> null - policy = jsonencode( { - rules = [ - { - action = { - type = "expire" } - description = "Expire more than 10 images" - rulePriority = 1 - selection = { - countNumber = 10 - countType = "imageCountMoreThan" - tagStatus = "any" } }, ] } ) -> null - registry_id = "410965620680" -> null - repository = "jfp-api-tags-stage" -> null } # module.stage.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository will be destroyed # (because aws_ecr_repository.ecr_repository is not in configuration) - resource "aws_ecr_repository" "ecr_repository" { - arn = "arn:aws:ecr:us-east-2:410965620680:repository/jfp-api-tags-stage" -> null - id = "jfp-api-tags-stage" -> null - image_tag_mutability = "MUTABLE" -> null - name = "jfp-api-tags-stage" -> null - registry_id = "410965620680" -> null - repository_url = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-stage" -> null - tags = {} -> null - tags_all = {} -> null - encryption_configuration { - encryption_type = "AES256" -> null # (1 unchanged attribute hidden) } - image_scanning_configuration { - scan_on_push = false -> null } } # module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service will be destroyed # (because aws_ecs_service.ecs_service is not in configuration) - resource "aws_ecs_service" "ecs_service" { - cluster = "arn:aws:ecs:us-east-2:410965620680:cluster/jfp-ecs-cluster-stage" -> null - deployment_maximum_percent = 200 -> null - deployment_minimum_healthy_percent = 100 -> null - desired_count = 1 -> null - enable_ecs_managed_tags = false -> null - enable_execute_command = false -> null - health_check_grace_period_seconds = 0 -> null - iam_role = "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS" -> null - id = "arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-tags-stage-service" -> null - launch_type = "FARGATE" -> null - name = "api-tags-stage-service" -> null - platform_version = "LATEST" -> null - propagate_tags = "NONE" -> null - scheduling_strategy = "REPLICA" -> null - tags = {} -> null - tags_all = {} -> null - task_definition = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage:10" -> null - triggers = {} -> null - wait_for_steady_state = false -> null - deployment_circuit_breaker { - enable = false -> null - rollback = false -> null } - deployment_controller { - type = "ECS" -> null } - load_balancer { - container_name = "jfp-api-tags-stage-app" -> null - container_port = 4006 -> null - target_group_arn = "arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0" -> null # (1 unchanged attribute hidden) } - network_configuration { - assign_public_ip = false -> null - security_groups = [ - "sg-087bc43a262c94bc1", ] -> null - subnets = [ - "subnet-01f4e86883462b5ce", - "subnet-062de12e3e3639eff", - "subnet-09cbfc19be5214a8b", ] -> null } } # module.stage.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition will be destroyed # (because aws_ecs_task_definition.ecs_task_definition is not in configuration) - resource "aws_ecs_task_definition" "ecs_task_definition" { - arn = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage:10" -> null - arn_without_revision = "arn:aws:ecs:us-east-2:410965620680:task-definition/jfp-api-tags-stage" -> null - container_definitions = jsonencode( [ - { - cpu = 512 - environment = [ - { - name = "NODE_ENV" - value = "production" }, ] - essential = true - image = "410965620680.dkr.ecr.us-east-2.amazonaws.com/jfp-api-tags-stage:latest" - logConfiguration = { - logDriver = "awsfirelens" - options = { - Host = "http-intake.logs.datadoghq.com" - Name = "datadog" - TLS = "on" - compress = "gzip" - dd_service = "api-tags" - dd_source = "nestjs" - dd_tags = "env:stage" - provider = "ecs" - retry_limit = "2" } - secretOptions = [ - { - name = "apikey" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] } - memory = 1024 - mountPoints = [] - name = "jfp-api-tags-stage-app" - portMappings = [ - { - containerPort = 4006 - hostPort = 4006 - protocol = "tcp" }, ] - secrets = [ - { - name = "PG_DATABASE_URL_TAGS" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" }, - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [ - { - name = "DD_APM_ENABLED" - value = "true" }, - { - name = "DD_APM_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_DOGSTATSD_NON_LOCAL_TRAFFIC" - value = "true" }, - { - name = "DD_LOGS_INJECTION" - value = "true" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_GRPC_ENDPOINT" - value = "0.0.0.0:4317" }, - { - name = "DD_OTLP_CONFIG_RECEIVER_PROTOCOLS_HTTP_ENDPOINT" - value = "0.0.0.0:4318" }, - { - name = "DD_PROCESS_AGENT_ENABLED" - value = "true" }, - { - name = "DD_PROFILING_ENABLED" - value = "true" }, - { - name = "DD_RUNTIME_METRICS_ENABLED" - value = "true" }, - { - name = "DD_TAGS" - value = "env:stage app:api-tags" }, - { - name = "DD_TRACE_ANALYTICS_ENABLED" - value = "true" }, - { - name = "ECS_FARGATE" - value = "true" }, ] - essential = true - image = "public.ecr.aws/datadog/agent:latest" - logConfiguration = { ```


Warning: Output length greater than max comment size. Continued in next comment.

jesus-film-bot commented 5 months ago

Continued plan output from previous comment.

Show Output ```diff - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 128 - mountPoints = [] - name = "jfp-api-tags-stage-datadog-agent" - portMappings = [ - { - containerPort = 8125 - hostPort = 8125 - protocol = "udp" }, ] - secrets = [ - { - name = "DD_API_KEY" - valueFrom = "arn:aws:ssm:us-east-2:410965620680:parameter/terraform/prd/DATADOG_API_KEY" }, ] - systemControls = [] - volumesFrom = [] }, - { - cpu = 0 - environment = [] - essential = true - firelensConfiguration = { - options = { - config-file-type = "file" - config-file-value = "/fluent-bit/configs/parse-json.conf" - enable-ecs-log-metadata = "true" } - type = "fluentbit" } - image = "amazon/aws-for-fluent-bit:stable" - logConfiguration = { - logDriver = "awslogs" - options = { - awslogs-group = "api-tags-stage-logs" - awslogs-region = "us-east-2" - awslogs-stream-prefix = "core" } } - memoryReservation = 100 - mountPoints = [] - name = "jfp-api-tags-stage-log-router" - portMappings = [] - systemControls = [] - user = "0" - volumesFrom = [] }, ] ) -> null - cpu = "512" -> null - execution_role_arn = "arn:aws:iam::410965620680:role/jfp-ecs-task-execution-role" -> null - family = "jfp-api-tags-stage" -> null - id = "jfp-api-tags-stage" -> null - memory = "1024" -> null - network_mode = "awsvpc" -> null - requires_compatibilities = [ - "FARGATE", ] -> null - revision = 10 -> null - skip_destroy = false -> null - tags = {} -> null - tags_all = {} -> null # (3 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_route53_record.record will be destroyed # (because aws_route53_record.record is not in configuration) - resource "aws_route53_record" "record" { - fqdn = "api-tags.stage.internal" -> null - id = "Z056780738DT3AZL6A4WD_api-tags_CNAME" -> null - multivalue_answer_routing_policy = false -> null - name = "api-tags" -> null - records = [ - "internal-jfp-internal-alb-stage-154137661.us-east-2.elb.amazonaws.com", ] -> null - ttl = 300 -> null - type = "CNAME" -> null - zone_id = "Z056780738DT3AZL6A4WD" -> null # (2 unchanged attributes hidden) } # module.stage.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"] will be destroyed # (because aws_ssm_parameter.parameters is not in configuration) - resource "aws_ssm_parameter" "parameters" { - arn = "arn:aws:ssm:us-east-2:410965620680:parameter/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - data_type = "text" -> null - id = "/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - key_id = "alias/aws/ssm" -> null - name = "/ecs/api-tags/stage/PG_DATABASE_URL_TAGS" -> null - overwrite = true -> null - tags = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tags_all = { - "name" = "PG_DATABASE_URL_TAGS" } -> null - tier = "Standard" -> null - type = "SecureString" -> null - value = (sensitive value) -> null - version = 7 -> null # (2 unchanged attributes hidden) } Plan: 0 to add, 0 to change, 80 to destroy. ```

tataihono commented 5 months ago

atlantis apply

jesus-film-bot commented 5 months ago

Ran Apply for dir: infrastructure workspace: default

Show Output ```diff module.stage.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destroying... [id=jfp-api-tags-stage] module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destroying... [id=jfp-memory-autoscaling-prod] module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destroying... [id=jfp-cpu-autoscaling-stage] module.stage.module.api-nexus.module.ecs-task.aws_route53_record.record: Destroying... [id=Z056780738DT3AZL6A4WD_api-nexus_CNAME] module.prod.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destroying... [id=jfp-api-tags-prod] module.stage.module.api-tags.module.ecs-task.aws_route53_record.record: Destroying... [id=Z056780738DT3AZL6A4WD_api-tags_CNAME] module.prod.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d/29c672ae5e6444d0] module.stage.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c/392b813456ef5084] module.prod.module.api-nexus.module.ecs-task.aws_route53_record.record: Destroying... [id=Z03223152FHL8WN66TI5X_api-nexus_CNAME] module.prod.module.api-tags.module.ecs-task.aws_route53_record.record: Destroying... [id=Z03223152FHL8WN66TI5X_api-tags_CNAME] module.prod.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destroying... [id=jfp-api-nexus-stage] module.prod.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destruction complete after 1s module.stage.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destruction complete after 1s module.prod.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029/f781d426993ecafd] module.prod.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destroying... [id=jfp-api-nexus-prod] module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destroying... [id=jfp-memory-autoscaling-stage] module.stage.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destroying... [id=jfp-cpu-autoscaling-prod] module.prod.module.api-nexus.module.ecs-task.aws_ecr_lifecycle_policy.ecr_policy: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destroying... [id=jfp-memory-autoscaling-prod] module.prod.module.api-tags.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destruction complete after 1s module.stage.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener-rule/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1/1986f0c9dc578eb3] module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destruction complete after 1s module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destroying... [id=jfp-cpu-autoscaling-prod] module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destroying... [id=jfp-memory-autoscaling-stage] module.stage.module.api-nexus.module.ecs-task.aws_alb_listener_rule.alb_listener_rule: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destroying... [id=jfp-cpu-autoscaling-stage] module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destruction complete after 0s module.stage.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/9be62de1b6c16f5c] module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_memory: Destruction complete after 0s module.prod.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/5897a6285bef8e2d] module.stage.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-stage/846f69021da58f87/34cbf70fcc1b94a1] module.prod.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:listener/app/jfp-internal-alb-prod/ae1556aacf21465f/e4720d78332d4029] module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destroying... [id=service/jfp-ecs-cluster-prod/api-nexus-prod-service] module.stage.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destroying... [id=service/jfp-ecs-cluster-stage/api-tags-stage-service] module.prod.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener: Destruction complete after 0s module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destroying... [id=service/jfp-ecs-cluster-prod/api-tags-prod-service] module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_policy.ecs_policy_cpu: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destroying... [id=service/jfp-ecs-cluster-stage/api-nexus-stage-service] module.prod.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destruction complete after 0s module.stage.module.api-nexus.module.alb-listener.aws_alb_listener.alb_listener: Destruction complete after 0s module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Destroying... [id=arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-prod/api-tags-prod-service] module.prod.module.api-tags.module.alb-listener.aws_alb_listener.alb_listener: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destruction complete after 3s module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Destroying... [id=arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-tags-stage-service] module.prod.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destruction complete after 5s module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Destroying... [id=arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-prod/api-nexus-prod-service] module.stage.module.api-nexus.module.ecs-task.aws_appautoscaling_target.service_autoscaling: Destruction complete after 6s module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Destroying... [id=arn:aws:ecs:us-east-2:410965620680:service/jfp-ecs-cluster-stage/api-nexus-stage-service] module.stage.module.api-nexus.module.ecs-task.aws_route53_record.record: Still destroying... [id=Z056780738DT3AZL6A4WD_api-nexus_CNAME, 10s elapsed] module.stage.module.api-tags.module.ecs-task.aws_route53_record.record: Still destroying... [id=Z056780738DT3AZL6A4WD_api-tags_CNAME, 10s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_route53_record.record: Still destroying... [id=Z03223152FHL8WN66TI5X_api-nexus_CNAME, 10s elapsed] module.prod.module.api-tags.module.ecs-task.aws_route53_record.record: Still destroying... [id=Z03223152FHL8WN66TI5X_api-tags_CNAME, 10s elapsed] module.stage.module.api-tags.module.ecs-task.aws_route53_record.record: Destruction complete after 11s module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 10s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_route53_record.record: Destruction complete after 12s module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 10s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...cs-cluster-prod/api-nexus-prod-service, 10s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 10s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_route53_record.record: Still destroying... [id=Z056780738DT3AZL6A4WD_api-nexus_CNAME, 20s elapsed] module.prod.module.api-tags.module.ecs-task.aws_route53_record.record: Still destroying... [id=Z03223152FHL8WN66TI5X_api-tags_CNAME, 20s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 20s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 20s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...cs-cluster-prod/api-nexus-prod-service, 20s elapsed] module.prod.module.api-tags.module.ecs-task.aws_route53_record.record: Destruction complete after 27s module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 20s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_route53_record.record: Destruction complete after 30s module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 30s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 30s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...cs-cluster-prod/api-nexus-prod-service, 30s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 30s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 40s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 40s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...cs-cluster-prod/api-nexus-prod-service, 40s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 40s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 50s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 50s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...cs-cluster-prod/api-nexus-prod-service, 50s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 50s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 1m0s elapsed] module.prod.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Destruction complete after 56s module.prod.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-prod-tg/e81d98a8adb80d85] module.prod.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destroying... [id=jfp-api-nexus-prod] module.prod.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"]: Destroying... [id=/ecs/api-nexus/prod/BUCKET_ACCESS_KEY] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"]: Destroying... [id=/ecs/api-nexus/prod/GOOGLE_API_KEY] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"]: Destroying... [id=/ecs/api-nexus/prod/BUCKET_SECRET_KEY] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"]: Destroying... [id=/ecs/api-nexus/prod/GOOGLE_CLIENT_SECRET] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"]: Destroying... [id=/ecs/api-nexus/prod/CLOUDFLARE_STREAM_TOKEN] module.prod.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository: Destroying... [id=jfp-api-nexus-prod] module.prod.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"]: Destroying... [id=/ecs/api-nexus/prod/BUCKET_NAME] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"]: Destroying... [id=/ecs/api-nexus/prod/GOOGLE_APPLICATION_JSON] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"]: Destroying... [id=/ecs/api-nexus/prod/BUCKET_REGION] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"]: Destroying... [id=/ecs/api-nexus/prod/FIREBASE_API_KEY] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destroying... [id=api-nexus-prod-logs] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"]: Destroying... [id=/ecs/api-nexus/prod/GOOGLE_CLIENT_ID] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"]: Destroying... [id=/ecs/api-nexus/prod/CLOUDFLARE_API_TOKEN] module.prod.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"]: Destroying... [id=/ecs/api-nexus/prod/REDIS_HOST] module.prod.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"]: Destroying... [id=/ecs/api-nexus/prod/BUCKET_ENDPOINT] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"]: Destruction complete after 1s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"]: Destroying... [id=/ecs/api-nexus/prod/PG_DATABASE_URL_NEXUS] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"]: Destruction complete after 1s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"]: Destruction complete after 1s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"]: Destroying... [id=/ecs/api-nexus/prod/CLOUDFLARE_ACCOUNT_ID] module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"]: Destruction complete after 1s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"]: Destruction complete after 1s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"]: Destruction complete after 1s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"]: Destruction complete after 0s module.prod.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"]: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 1m0s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 1m0s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 1m10s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 1m10s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 1m10s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 1m20s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 1m20s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 1m20s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 1m30s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 1m30s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 1m30s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 1m40s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 1m40s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 1m40s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 1m50s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 1m50s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 1m50s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 2m0s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 2m0s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 2m0s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 2m10s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 2m10s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 2m10s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 2m20s elapsed] module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 2m20s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...-cluster-stage/api-nexus-stage-service, 2m20s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...ecs-cluster-prod/api-tags-prod-service, 2m30s elapsed] module.stage.module.api-nexus.module.ecs-task.aws_ecs_service.ecs_service: Destruction complete after 2m27s module.stage.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-nexus-stage-tg/483a7f975fa82eb0] module.stage.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destroying... [id=jfp-api-nexus-stage] module.stage.module.api-nexus.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository: Destroying... [id=jfp-api-nexus-stage] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"]: Destroying... [id=/ecs/api-nexus/stage/GOOGLE_APPLICATION_JSON] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"]: Destroying... [id=/ecs/api-nexus/stage/BUCKET_NAME] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"]: Destroying... [id=/ecs/api-nexus/stage/BUCKET_ACCESS_KEY] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"]: Destroying... [id=/ecs/api-nexus/stage/BUCKET_SECRET_KEY] module.stage.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destroying... [id=api-nexus-stage-logs] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"]: Destroying... [id=/ecs/api-nexus/stage/CLOUDFLARE_STREAM_TOKEN] module.stage.module.api-nexus.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_alb_target_group.alb_target_group: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"]: Destroying... [id=/ecs/api-nexus/stage/GOOGLE_CLIENT_SECRET] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"]: Destroying... [id=/ecs/api-nexus/stage/GOOGLE_CLIENT_ID] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_STREAM_TOKEN"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_NAME"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_APPLICATION_JSON"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_SECRET_KEY"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"]: Destroying... [id=/ecs/api-nexus/stage/REDIS_HOST] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ACCESS_KEY"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"]: Destroying... [id=/ecs/api-nexus/stage/CLOUDFLARE_API_TOKEN] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"]: Destroying... [id=/ecs/api-nexus/stage/PG_DATABASE_URL_NEXUS] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"]: Destroying... [id=/ecs/api-nexus/stage/GOOGLE_API_KEY] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"]: Destroying... [id=/ecs/api-nexus/stage/BUCKET_ENDPOINT] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_ID"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"]: Destroying... [id=/ecs/api-nexus/stage/BUCKET_REGION] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_CLIENT_SECRET"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"]: Destroying... [id=/ecs/api-nexus/stage/FIREBASE_API_KEY] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["REDIS_HOST"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["GOOGLE_API_KEY"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ecr_repository.ecr_repository: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_API_TOKEN"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"]: Destroying... [id=/ecs/api-nexus/stage/CLOUDFLARE_ACCOUNT_ID] module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_ENDPOINT"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_NEXUS"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["BUCKET_REGION"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["FIREBASE_API_KEY"]: Destruction complete after 0s module.stage.module.api-nexus.module.ecs-task.aws_ssm_parameter.parameters["CLOUDFLARE_ACCOUNT_ID"]: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Still destroying... [id=arn:aws:ecs:us-east-2:410965620680:serv...s-cluster-stage/api-tags-stage-service, 2m30s elapsed] module.prod.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Destruction complete after 2m37s module.prod.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-prod-tg/d994788c57e003cd] module.prod.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destroying... [id=jfp-api-tags-prod] module.prod.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destruction complete after 0s module.prod.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository: Destroying... [id=jfp-api-tags-prod] module.prod.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destroying... [id=api-tags-prod-logs] module.prod.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"]: Destroying... [id=/ecs/api-tags/prod/PG_DATABASE_URL_TAGS] module.prod.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destruction complete after 0s module.prod.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group: Destruction complete after 0s module.prod.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"]: Destruction complete after 0s module.prod.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_ecs_service.ecs_service: Destruction complete after 2m37s module.stage.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group: Destroying... [id=arn:aws:elasticloadbalancing:us-east-2:410965620680:targetgroup/api-tags-stage-tg/9de476f03be501c0] module.stage.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destroying... [id=jfp-api-tags-stage] module.stage.module.api-tags.module.ecs-task.aws_ecs_task_definition.ecs_task_definition: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"]: Destroying... [id=/ecs/api-tags/stage/PG_DATABASE_URL_TAGS] module.stage.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository: Destroying... [id=jfp-api-tags-stage] module.stage.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destroying... [id=api-tags-stage-logs] module.stage.module.api-tags.module.ecs-task.aws_cloudwatch_log_group.ecs_cw_log_group: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_alb_target_group.alb_target_group: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_ssm_parameter.parameters["PG_DATABASE_URL_TAGS"]: Destruction complete after 0s module.stage.module.api-tags.module.ecs-task.aws_ecr_repository.ecr_repository: Destruction complete after 0s Apply complete! Resources: 0 added, 0 changed, 80 destroyed. ```
jesus-film-bot commented 5 months ago

Automatically merging because all plans have been successfully applied.

jesus-film-bot commented 5 months ago

Automerging failed:

merging pull request: PUT https://api.github.com/repos/JesusFilm/core/pulls/3363/merge: 405 Changes must be made through the merge queue []
jesus-film-bot commented 5 months ago

Locks and plans deleted for the projects and workspaces modified in this pull request: