Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yjsm #9558

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Add yjsm #9558

wants to merge 4 commits into from

Conversation

ttipler
Copy link
Collaborator

@ttipler ttipler commented Feb 4, 2025

No description provided.

@ttipler ttipler requested review from a team as code owners February 4, 2025 15:35
@github-actions github-actions bot added the environments-repository Used to exclude PRs from this repo in our Slack PR update label Feb 4, 2025
Copy link
Contributor

github-actions bot commented Feb 4, 2025

Trivy Scan Success

Show Output ```hcl

Trivy will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework


Running Trivy in terraform/environments/youth-justice-app-framework/modules/yjsm
2025-02-04T15:38:02Z INFO [vulndb] Need to update DB
2025-02-04T15:38:02Z INFO [vulndb] Downloading vulnerability DB...
2025-02-04T15:38:02Z INFO [vulndb] Downloading artifact... repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-04T15:38:04Z INFO [vulndb] Artifact successfully downloaded repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-04T15:38:04Z INFO [vuln] Vulnerability scanning is enabled
2025-02-04T15:38:04Z INFO [misconfig] Misconfiguration scanning is enabled
2025-02-04T15:38:04Z INFO [misconfig] Need to update the built-in checks
2025-02-04T15:38:04Z INFO [misconfig] Downloading the built-in checks...
162.46 KiB / 162.46 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2025-02-04T15:38:05Z INFO [secret] Secret scanning is enabled
2025-02-04T15:38:05Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-04T15:38:05Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-04T15:38:06Z INFO [terraform scanner] Scanning root module file_path="."
2025-02-04T15:38:06Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="project_name, vpc_id, yjsm_ec2_role, yjsm_service"
2025-02-04T15:38:06Z INFO Number of language-specific files num=0
2025-02-04T15:38:06Z INFO Detected config files num=2
trivy_exitcode=0


Running Trivy in terraform/environments/youth-justice-app-framework
2025-02-04T15:38:06Z INFO [vuln] Vulnerability scanning is enabled
2025-02-04T15:38:06Z INFO [misconfig] Misconfiguration scanning is enabled
2025-02-04T15:38:06Z INFO [secret] Secret scanning is enabled
2025-02-04T15:38:06Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-04T15:38:06Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-04T15:38:07Z INFO [terraform scanner] Scanning root module file_path="."
2025-02-04T15:38:07Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-02-04T15:38:08Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.certs.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-04T15:38:08Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.cloudfront_yjaf.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-04T15:38:11Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:11Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:13Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:13Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:13Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:17Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:19Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:19Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:19Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:19Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket.default" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_acl.default" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_ownership_controls.default" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_policy.default" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_public_access_block.default" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_server_side_encryption_configuration.bucket" value="cty.NilVal"
2025-02-04T15:38:21Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_versioning.default" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:28Z INFO [terraform executor] Ignore finding rule="aws-elb-http-not-used" range="modules/alb/listeners.tf:17-57"
2025-02-04T15:38:28Z INFO [terraform executor] Ignore finding rule="aws-s3-encryption-customer-key" range="modules/cloudfront/main.tf:118-129"
2025-02-04T15:38:28Z INFO [terraform executor] Ignore finding rule="aws-ec2-enforce-launch-config-http-token-imds" range="terraform-aws-modules/autoscaling/aws/main.tf:26-340"
2025-02-04T15:38:28Z INFO [terraform executor] Ignore finding rule="aws-elb-alb-not-public" range="terraform-aws-modules/alb/aws/main.tf:47"
2025-02-04T15:38:28Z INFO Number of language-specific files num=0
2025-02-04T15:38:28Z INFO Detected config files num=12
trivy_exitcode=0

</details> #### `Checkov Scan` Failed
<details><summary>Show Output</summary>

```hcl

*****************************

Checkov will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework

*****************************

Running Checkov in terraform/environments/youth-justice-app-framework/modules/yjsm
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 24, Failed checks: 1, Skipped checks: 1

Check: CKV2_AWS_5: "Ensure that Security Groups are attached to another resource"
	FAILED for resource: aws_security_group.yjsm_service
	File: /security-groups.tf:2-12
	Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-networking-policies/ensure-that-security-groups-are-attached-to-ec2-instances-or-elastic-network-interfaces-enis

		2  | resource "aws_security_group" "yjsm_service" {
		3  |   name        = "YJSM"
		4  |   description = "YJSM instance security group"
		5  |   vpc_id      = var.vpc_id
		6  |   tags = merge(
		7  |     {
		8  |       "Name" = "yjsm service"
		9  |     },
		10 |     local.all_tags,
		11 |   )
		12 | }


checkov_exitcode=1

*****************************

Running Checkov in terraform/environments/youth-justice-app-framework
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
2025-02-04 15:38:34,882 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/kms/aws:3.1.1 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,890 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/rds-aurora/aws:9.4.0 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,890 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/alb/aws:9.9.0 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,891 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/s3-bucket/aws:4.1.2 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,891 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/security-group/aws:5.1.2 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,891 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/ecs/aws//modules/cluster:5.11.2 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,891 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/ecs/aws//modules/service:5.11.2 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,891 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/key-pair/aws:2.0.3 (for external modules, the --download-external-modules flag is required)
2025-02-04 15:38:34,891 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/autoscaling/aws:7.6.1 (for external modules, the --download-external-modules flag is required)
terraform scan results:

Passed checks: 185, Failed checks: 1, Skipped checks: 63

Check: CKV2_AWS_5: "Ensure that Security Groups are attached to another resource"
	FAILED for resource: module.yjsm.aws_security_group.yjsm_service
	File: /modules/yjsm/security-groups.tf:2-12
	Guide: https://docs.prismacloud.io/en/enterprise-edition/policy-reference/aws-policies/aws-networking-policies/ensure-that-security-groups-are-attached-to-ec2-instances-or-elastic-network-interfaces-enis

		2  | resource "aws_security_group" "yjsm_service" {
		3  |   name        = "YJSM"
		4  |   description = "YJSM instance security group"
		5  |   vpc_id      = var.vpc_id
		6  |   tags = merge(
		7  |     {
		8  |       "Name" = "yjsm service"
		9  |     },
		10 |     local.all_tags,
		11 |   )
		12 | }


checkov_exitcode=2

CTFLint Scan Success

Show Output
*****************************

Setting default tflint config...
Running tflint --init...
Installing "terraform" plugin...
Installed "terraform" (source: github.com/terraform-linters/tflint-ruleset-terraform, version: 0.9.1)
tflint will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework

*****************************

Running tflint in terraform/environments/youth-justice-app-framework/modules/yjsm
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

*****************************

Running tflint in terraform/environments/youth-justice-app-framework
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

Trivy Scan Success

Show Output
*****************************

Trivy will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework

*****************************

Running Trivy in terraform/environments/youth-justice-app-framework/modules/yjsm
2025-02-04T15:38:02Z	INFO	[vulndb] Need to update DB
2025-02-04T15:38:02Z	INFO	[vulndb] Downloading vulnerability DB...
2025-02-04T15:38:02Z	INFO	[vulndb] Downloading artifact...	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-04T15:38:04Z	INFO	[vulndb] Artifact successfully downloaded	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-04T15:38:04Z	INFO	[vuln] Vulnerability scanning is enabled
2025-02-04T15:38:04Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-02-04T15:38:04Z	INFO	[misconfig] Need to update the built-in checks
2025-02-04T15:38:04Z	INFO	[misconfig] Downloading the built-in checks...
162.46 KiB / 162.46 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2025-02-04T15:38:05Z	INFO	[secret] Secret scanning is enabled
2025-02-04T15:38:05Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-04T15:38:05Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-04T15:38:06Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-02-04T15:38:06Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="project_name, vpc_id, yjsm_ec2_role, yjsm_service"
2025-02-04T15:38:06Z	INFO	Number of language-specific files	num=0
2025-02-04T15:38:06Z	INFO	Detected config files	num=2
trivy_exitcode=0

*****************************

Running Trivy in terraform/environments/youth-justice-app-framework
2025-02-04T15:38:06Z	INFO	[vuln] Vulnerability scanning is enabled
2025-02-04T15:38:06Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-02-04T15:38:06Z	INFO	[secret] Secret scanning is enabled
2025-02-04T15:38:06Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-04T15:38:06Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-04T15:38:07Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-02-04T15:38:07Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-02-04T15:38:08Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.certs.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-04T15:38:08Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.cloudfront_yjaf.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-04T15:38:11Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:11Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:12Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:13Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:13Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:13Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:15Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:16Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:17Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:17Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:18Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:19Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:19Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:19Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:19Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:20Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket.default" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_acl.default" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_ownership_controls.default" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_policy.default" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_public_access_block.default" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_server_side_encryption_configuration.bucket" value="cty.NilVal"
2025-02-04T15:38:21Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_versioning.default" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:22Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:23Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:24Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:25Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-04T15:38:28Z	INFO	[terraform executor] Ignore finding	rule="aws-elb-http-not-used" range="modules/alb/listeners.tf:17-57"
2025-02-04T15:38:28Z	INFO	[terraform executor] Ignore finding	rule="aws-s3-encryption-customer-key" range="modules/cloudfront/main.tf:118-129"
2025-02-04T15:38:28Z	INFO	[terraform executor] Ignore finding	rule="aws-ec2-enforce-launch-config-http-token-imds" range="terraform-aws-modules/autoscaling/aws/main.tf:26-340"
2025-02-04T15:38:28Z	INFO	[terraform executor] Ignore finding	rule="aws-elb-alb-not-public" range="terraform-aws-modules/alb/aws/main.tf:47"
2025-02-04T15:38:28Z	INFO	Number of language-specific files	num=0
2025-02-04T15:38:28Z	INFO	Detected config files	num=12
trivy_exitcode=0

Copy link
Contributor

github-actions bot commented Feb 5, 2025

Trivy Scan Success

Show Output ```hcl

Trivy will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework


Running Trivy in terraform/environments/youth-justice-app-framework/modules/yjsm
2025-02-05T12:06:42Z INFO [vulndb] Need to update DB
2025-02-05T12:06:42Z INFO [vulndb] Downloading vulnerability DB...
2025-02-05T12:06:42Z INFO [vulndb] Downloading artifact... repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-05T12:06:44Z INFO [vulndb] Artifact successfully downloaded repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-05T12:06:44Z INFO [vuln] Vulnerability scanning is enabled
2025-02-05T12:06:44Z INFO [misconfig] Misconfiguration scanning is enabled
2025-02-05T12:06:44Z INFO [misconfig] Need to update the built-in checks
2025-02-05T12:06:44Z INFO [misconfig] Downloading the built-in checks...
162.46 KiB / 162.46 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2025-02-05T12:06:45Z INFO [secret] Secret scanning is enabled
2025-02-05T12:06:45Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-05T12:06:45Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-05T12:06:46Z INFO [terraform scanner] Scanning root module file_path="."
2025-02-05T12:06:46Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="environment, project_name, subnet_id, vpc_id"
2025-02-05T12:06:46Z INFO Number of language-specific files num=0
2025-02-05T12:06:46Z INFO Detected config files num=2
trivy_exitcode=0


Running Trivy in terraform/environments/youth-justice-app-framework
2025-02-05T12:06:46Z INFO [vuln] Vulnerability scanning is enabled
2025-02-05T12:06:46Z INFO [misconfig] Misconfiguration scanning is enabled
2025-02-05T12:06:46Z INFO [secret] Secret scanning is enabled
2025-02-05T12:06:46Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-05T12:06:46Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-05T12:06:47Z INFO [terraform scanner] Scanning root module file_path="."
2025-02-05T12:06:47Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="networking"
2025-02-05T12:06:49Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.certs.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-05T12:06:49Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.cloudfront_yjaf.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-05T12:06:52Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:00Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:00Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:00Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket.default" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_acl.default" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_ownership_controls.default" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_policy.default" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_public_access_block.default" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_server_side_encryption_configuration.bucket" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.s3.aws_s3_bucket_versioning.default" value="cty.NilVal"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:02Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand dynamic block. block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["auth"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bands"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["bu"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["case"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["cmm"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["conversions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["dal"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["documents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["gateway"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["placements"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["refdata"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["returns"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["sentences"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["serious-incidents"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transfers"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["transitions"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["ui"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["views"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["workflow"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs.module.ecs_service["yp"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:09Z INFO [terraform executor] Ignore finding rule="aws-ec2-enforce-launch-config-http-token-imds" range="terraform-aws-modules/autoscaling/aws/main.tf:26-340"
2025-02-05T12:07:09Z INFO [terraform executor] Ignore finding rule="aws-elb-alb-not-public" range="terraform-aws-modules/alb/aws/main.tf:47"
2025-02-05T12:07:09Z INFO [terraform executor] Ignore finding rule="aws-s3-encryption-customer-key" range="modules/cloudfront/main.tf:118-129"
2025-02-05T12:07:09Z INFO [terraform executor] Ignore finding rule="aws-elb-http-not-used" range="modules/alb/listeners.tf:17-57"
2025-02-05T12:07:09Z INFO Number of language-specific files num=0
2025-02-05T12:07:09Z INFO Detected config files num=12
trivy_exitcode=0

</details> #### `Checkov Scan` Success
<details><summary>Show Output</summary>

```hcl

*****************************

Checkov will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework

*****************************

Running Checkov in terraform/environments/youth-justice-app-framework/modules/yjsm
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
terraform scan results:

Passed checks: 25, Failed checks: 0, Skipped checks: 1


checkov_exitcode=0

*****************************

Running Checkov in terraform/environments/youth-justice-app-framework
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
2025-02-05 12:07:16,032 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/kms/aws:3.1.1 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,032 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/rds-aurora/aws:9.4.0 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,032 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/alb/aws:9.9.0 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,032 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/s3-bucket/aws:4.1.2 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,035 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/security-group/aws:5.1.2 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,035 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/ecs/aws//modules/cluster:5.11.2 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,036 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/ecs/aws//modules/service:5.11.2 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,036 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/key-pair/aws:2.0.3 (for external modules, the --download-external-modules flag is required)
2025-02-05 12:07:16,036 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/autoscaling/aws:7.6.1 (for external modules, the --download-external-modules flag is required)
terraform scan results:

Passed checks: 186, Failed checks: 0, Skipped checks: 63


checkov_exitcode=0

CTFLint Scan Success

Show Output
*****************************

Setting default tflint config...
Running tflint --init...
Installing "terraform" plugin...
Installed "terraform" (source: github.com/terraform-linters/tflint-ruleset-terraform, version: 0.9.1)
tflint will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework

*****************************

Running tflint in terraform/environments/youth-justice-app-framework/modules/yjsm
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

*****************************

Running tflint in terraform/environments/youth-justice-app-framework
Excluding the following checks: terraform_unused_declarations
tflint_exitcode=0

Trivy Scan Success

Show Output
*****************************

Trivy will check the following folders:
terraform/environments/youth-justice-app-framework/modules/yjsm
terraform/environments/youth-justice-app-framework

*****************************

Running Trivy in terraform/environments/youth-justice-app-framework/modules/yjsm
2025-02-05T12:06:42Z	INFO	[vulndb] Need to update DB
2025-02-05T12:06:42Z	INFO	[vulndb] Downloading vulnerability DB...
2025-02-05T12:06:42Z	INFO	[vulndb] Downloading artifact...	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-05T12:06:44Z	INFO	[vulndb] Artifact successfully downloaded	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-02-05T12:06:44Z	INFO	[vuln] Vulnerability scanning is enabled
2025-02-05T12:06:44Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-02-05T12:06:44Z	INFO	[misconfig] Need to update the built-in checks
2025-02-05T12:06:44Z	INFO	[misconfig] Downloading the built-in checks...
162.46 KiB / 162.46 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2025-02-05T12:06:45Z	INFO	[secret] Secret scanning is enabled
2025-02-05T12:06:45Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-05T12:06:45Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-05T12:06:46Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-02-05T12:06:46Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="environment, project_name, subnet_id, vpc_id"
2025-02-05T12:06:46Z	INFO	Number of language-specific files	num=0
2025-02-05T12:06:46Z	INFO	Detected config files	num=2
trivy_exitcode=0

*****************************

Running Trivy in terraform/environments/youth-justice-app-framework
2025-02-05T12:06:46Z	INFO	[vuln] Vulnerability scanning is enabled
2025-02-05T12:06:46Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-02-05T12:06:46Z	INFO	[secret] Secret scanning is enabled
2025-02-05T12:06:46Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-02-05T12:06:46Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-02-05T12:06:47Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-02-05T12:06:47Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="networking"
2025-02-05T12:06:49Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.certs.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-05T12:06:49Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.cloudfront_yjaf.aws_route53_record.cert_validation" value="cty.NilVal"
2025-02-05T12:06:52Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:52Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:53Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:56Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:57Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:58Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:06:59Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:00Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:00Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:00Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:00Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:01Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.kms.data.aws_iam_policy_document.this[0]" err="1 error occurred:\n\t* invalid for-each in data.aws_iam_policy_document.this[0].dynamic.statement.content.dynamic.condition block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket.default" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_acl.default" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_ownership_controls.default" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_policy.default" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_public_access_block.default" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_server_side_encryption_configuration.bucket" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.s3.aws_s3_bucket_versioning.default" value="cty.NilVal"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:02Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:03Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:04Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="module.ecs.module.autoscaling.aws_autoscaling_group.idc[0]" err="1 error occurred:\n\t* invalid for-each in aws_autoscaling_group.idc[0].dynamic.tag block: cannot use a cty.NilVal value in for_each. An iterable collection is required\n\n"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"auth\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bands\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"bu\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"case\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"cmm\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"conversions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"dal\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"documents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"gateway\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"placements\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"refdata\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"returns\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:05Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"sentences\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"serious-incidents\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transfers\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"transitions\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"ui\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"views\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"workflow\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:06Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs.module.ecs_service[\"yp\"].module.container_definition" value="cty.NilVal"
2025-02-05T12:07:09Z	INFO	[terraform executor] Ignore finding	rule="aws-ec2-enforce-launch-config-http-token-imds" range="terraform-aws-modules/autoscaling/aws/main.tf:26-340"
2025-02-05T12:07:09Z	INFO	[terraform executor] Ignore finding	rule="aws-elb-alb-not-public" range="terraform-aws-modules/alb/aws/main.tf:47"
2025-02-05T12:07:09Z	INFO	[terraform executor] Ignore finding	rule="aws-s3-encryption-customer-key" range="modules/cloudfront/main.tf:118-129"
2025-02-05T12:07:09Z	INFO	[terraform executor] Ignore finding	rule="aws-elb-http-not-used" range="modules/alb/listeners.tf:17-57"
2025-02-05T12:07:09Z	INFO	Number of language-specific files	num=0
2025-02-05T12:07:09Z	INFO	Detected config files	num=12
trivy_exitcode=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environments-repository Used to exclude PRs from this repo in our Slack PR update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant