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

Bump terraform-aws-modules/ecs/aws from 5.11.2 to 5.12.0 in /terraform/environments/youth-justice-app-framework #9425

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 23, 2025

Bumps terraform-aws-modules/ecs/aws from 5.11.2 to 5.12.0.

Release notes

Sourced from terraform-aws-modules/ecs/aws's releases.

v5.12.0

5.12.0 (2024-11-29)

Features

  • Allow task exec IAM policy to have an IAM path (#243) (c9dc889)

Bug Fixes

  • Update CI workflow versions to latest (#236) (fd0f0ec)

v5.11.4

5.11.4 (2024-08-07)

Bug Fixes

  • Local cluster_name error when var.cluster_arn is empty (#218) (42f11fe)

v5.11.3

5.11.3 (2024-07-05)

Bug Fixes

Changelog

Sourced from terraform-aws-modules/ecs/aws's changelog.

5.12.0 (2024-11-29)

Features

  • Allow task exec IAM policy to have an IAM path (#243) (c9dc889)

Bug Fixes

  • Update CI workflow versions to latest (#236) (fd0f0ec)

5.11.4 (2024-08-07)

Bug Fixes

  • Local cluster_name error when var.cluster_arn is empty (#218) (42f11fe)

5.11.3 (2024-07-05)

Bug Fixes

Commits
  • a1049c0 chore(release): version 5.12.0 [skip ci]
  • c9dc889 feat: Allow task exec IAM policy to have an IAM path (#243)
  • 7dd9dbb docs: Fix design doc link (#238)
  • fd0f0ec fix: Update CI workflow versions to latest (#236)
  • 3b70e1e chore(release): version 5.11.4 [skip ci]
  • 42f11fe fix: Local cluster_name error when var.cluster_arn is empty (#218)
  • 048acce chore(release): version 5.11.3 [skip ci]
  • c9cab6f fix: Add missing pid_mode to root module (#204)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [terraform-aws-modules/ecs/aws](https://github.com/terraform-aws-modules/terraform-aws-ecs) from 5.11.2 to 5.12.0.
- [Release notes](https://github.com/terraform-aws-modules/terraform-aws-ecs/releases)
- [Changelog](https://github.com/terraform-aws-modules/terraform-aws-ecs/blob/master/CHANGELOG.md)
- [Commits](terraform-aws-modules/terraform-aws-ecs@v5.11.2...v5.12.0)

---
updated-dependencies:
- dependency-name: terraform-aws-modules/ecs/aws
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file terraform Pull requests that update Terraform code labels Jan 23, 2025
@dependabot dependabot bot requested review from a team as code owners January 23, 2025 01:06
@github-actions github-actions bot added the environments-repository Used to exclude PRs from this repo in our Slack PR update label Jan 23, 2025
Copy link
Contributor

Trivy Scan Success

Show Output ```hcl

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


Running Trivy in terraform/environments/youth-justice-app-framework/modules/ecs
2025-01-23T01:08:36Z INFO [vulndb] Need to update DB
2025-01-23T01:08:36Z INFO [vulndb] Downloading vulnerability DB...
2025-01-23T01:08:36Z INFO [vulndb] Downloading artifact... repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-01-23T01:08:39Z INFO [vulndb] Artifact successfully downloaded repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-01-23T01:08:39Z INFO [vuln] Vulnerability scanning is enabled
2025-01-23T01:08:39Z INFO [misconfig] Misconfiguration scanning is enabled
2025-01-23T01:08:39Z INFO [misconfig] Need to update the built-in checks
2025-01-23T01:08:39Z INFO [misconfig] Downloading the built-in checks...
164.50 KiB / 164.50 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2025-01-23T01:08:39Z INFO [secret] Secret scanning is enabled
2025-01-23T01:08:39Z INFO [secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-01-23T01:08:39Z INFO [secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-01-23T01:08:40Z INFO [terraform scanner] Scanning root module file_path="."
2025-01-23T01:08:40Z WARN [terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly. module="root" variables="cluster_name, ecs_services, ecs_subnet_ids, environment, external_alb_arn, external_alb_name, external_alb_security_group_id, internal_alb_arn, internal_alb_name, internal_alb_security_group_id, nameserver, project_name, vpc_id"
2025-01-23T01:08:40Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="data.aws_lb_target_group.external_target_group" value="cty.NilVal"
2025-01-23T01:08:40Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="data.aws_lb_target_group.target_group" value="cty.NilVal"
2025-01-23T01:08:40Z ERROR [terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable. block="module.ecs_service" value="cty.NilVal"
2025-01-23T01:08:43Z ERROR [terraform evaluator] Failed to expand dynamic block. block="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-01-23T01:08:43Z ERROR [terraform evaluator] Failed to expand dynamic block. block="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-01-23T01:08:43Z ERROR [terraform evaluator] Failed to expand dynamic block. block="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-01-23T01:08:43Z ERROR [terraform evaluator] Failed to expand dynamic block. block="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-01-23T01:08:43Z INFO [terraform executor] Ignore finding rule="aws-ec2-enforce-launch-config-http-token-imds" range="git::https:/github.com/terraform-aws-modules/terraform-aws-autoscaling?ref=e5622394aed9f4af14f075db45c4ea6bea3c4a14/main.tf:26-340"
2025-01-23T01:08:43Z INFO Number of language-specific files num=0
2025-01-23T01:08:43Z INFO Detected config files num=4
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/ecs

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

Running Checkov in terraform/environments/youth-justice-app-framework/modules/ecs
Excluding the following checks: CKV_GIT_1,CKV_AWS_126,CKV2_AWS_38,CKV2_AWS_39
2025-01-23 01:08:46,594 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/ecs/aws//modules/cluster:5.12.0 (for external modules, the --download-external-modules flag is required)
2025-01-23 01:08:46,594 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/ecs/aws//modules/service:5.12.0 (for external modules, the --download-external-modules flag is required)
2025-01-23 01:08:46,594 [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-01-23 01:08:46,594 [MainThread  ] [WARNI]  Failed to download module terraform-aws-modules/autoscaling/aws:7.6.1 (for external modules, the --download-external-modules flag is required)
2025-01-23 01:08:46,594 [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)
terraform scan results:

Passed checks: 39, Failed checks: 0, Skipped checks: 10


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/ecs

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

Running tflint in terraform/environments/youth-justice-app-framework/modules/ecs
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/ecs

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

Running Trivy in terraform/environments/youth-justice-app-framework/modules/ecs
2025-01-23T01:08:36Z	INFO	[vulndb] Need to update DB
2025-01-23T01:08:36Z	INFO	[vulndb] Downloading vulnerability DB...
2025-01-23T01:08:36Z	INFO	[vulndb] Downloading artifact...	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-01-23T01:08:39Z	INFO	[vulndb] Artifact successfully downloaded	repo="public.ecr.aws/aquasecurity/trivy-db:2"
2025-01-23T01:08:39Z	INFO	[vuln] Vulnerability scanning is enabled
2025-01-23T01:08:39Z	INFO	[misconfig] Misconfiguration scanning is enabled
2025-01-23T01:08:39Z	INFO	[misconfig] Need to update the built-in checks
2025-01-23T01:08:39Z	INFO	[misconfig] Downloading the built-in checks...
164.50 KiB / 164.50 KiB [---------------------------------------------------------] 100.00% ? p/s 0s2025-01-23T01:08:39Z	INFO	[secret] Secret scanning is enabled
2025-01-23T01:08:39Z	INFO	[secret] If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2025-01-23T01:08:39Z	INFO	[secret] Please see also https://aquasecurity.github.io/trivy/v0.57/docs/scanner/secret#recommendation for faster secret detection
2025-01-23T01:08:40Z	INFO	[terraform scanner] Scanning root module	file_path="."
2025-01-23T01:08:40Z	WARN	[terraform parser] Variable values was not found in the environment or variable files. Evaluating may not work correctly.	module="root" variables="cluster_name, ecs_services, ecs_subnet_ids, environment, external_alb_arn, external_alb_name, external_alb_security_group_id, internal_alb_arn, internal_alb_name, internal_alb_security_group_id, nameserver, project_name, vpc_id"
2025-01-23T01:08:40Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="data.aws_lb_target_group.external_target_group" value="cty.NilVal"
2025-01-23T01:08:40Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="data.aws_lb_target_group.target_group" value="cty.NilVal"
2025-01-23T01:08:40Z	ERROR	[terraform evaluator] Failed to expand block. Invalid "for-each" argument. Must be known and iterable.	block="module.ecs_service" value="cty.NilVal"
2025-01-23T01:08:43Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="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-01-23T01:08:43Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="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-01-23T01:08:43Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="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-01-23T01:08:43Z	ERROR	[terraform evaluator] Failed to expand dynamic block.	block="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-01-23T01:08:43Z	INFO	[terraform executor] Ignore finding	rule="aws-ec2-enforce-launch-config-http-token-imds" range="git::https:/github.com/terraform-aws-modules/terraform-aws-autoscaling?ref=e5622394aed9f4af14f075db45c4ea6bea3c4a14/main.tf:26-340"
2025-01-23T01:08:43Z	INFO	Number of language-specific files	num=0
2025-01-23T01:08:43Z	INFO	Detected config files	num=4
trivy_exitcode=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file environments-repository Used to exclude PRs from this repo in our Slack PR update terraform Pull requests that update Terraform code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants