Skip to content

v2.0.12

Choose a tag to compare

@cloudposse-releaser cloudposse-releaser released this 11 Sep 20:29
· 15 commits to main since this release
52873f7
replace local.nlb with local.nlb.nlb @Benbentwo (#67) This pull request updates several references to the Network Load Balancer (NLB) outputs in the Terraform configuration to correctly access nested fields under `nlb.nlb`. These changes ensure that the code interacts with the correct NLB resource structure, improving reliability and maintainability.

Updates to NLB output references:

  • Changed all references to NLB outputs in src/remote-state.tf (such as nlb_arn, nlb_name, nlb_zone_id, default_listener_arn, and route53_record.fqdn) to use the correct nested structure nlb.nlb.<field> instead of nlb.<field>.

Load balancer configuration fixes:

  • Updated the lb_protocol logic in src/remote-state.tf to use local.nlb.nlb.is_443_enabled for determining HTTPS protocol.
  • Modified the target_group_arn assignment in the ECS ALB service task module in src/main.tf to use local.nlb.nlb.default_target_group_arn for NLBs.

Summary by CodeRabbit

  • Refactor

    • Load balancer selection now prefers an NLB-compatible output shape while preserving ALB behavior; public LB attributes resolve NLB-first with ALB fallbacks.
    • ECS service target group selection updated to use the NLB-compat path when applicable.
  • Chores

    • Added a backward-compatible NLB compatibility layer and explicit null/coalesce handling for LB zone and FQDN resolution.
    • Listener ARN lists now exclude null entries to avoid spurious empty values.
  • Bug Fixes

    • Vanity alias creation now requires a valid load-balancer zone ID, preventing orphaned or invalid alias resources.

🚀 Enhancements

chore(deps): bump github.com/ulikunitz/xz from 0.5.11 to 0.5.14 in /test @[dependabot[bot]](https://github.com/apps/dependabot) (#64) Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.11 to 0.5.14.
Commits

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

🤖 Automatic Updates

chore(deps): bump github.com/ulikunitz/xz from 0.5.11 to 0.5.14 in /test @[dependabot[bot]](https://github.com/apps/dependabot) (#64) Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.11 to 0.5.14.
Commits

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.