Skip to content

chore(deps): update terraform-aws-modules/key-pair/aws to 3.0.0#30

Open
seyio91 wants to merge 2 commits into
mainfrom
renovate/terraform-aws-modules-key-pair-aws-3.x
Open

chore(deps): update terraform-aws-modules/key-pair/aws to 3.0.0#30
seyio91 wants to merge 2 commits into
mainfrom
renovate/terraform-aws-modules-key-pair-aws-3.x

Conversation

@seyio91
Copy link
Copy Markdown
Collaborator

@seyio91 seyio91 commented May 1, 2026

This PR contains the following updates:

Package Type Update Change
terraform-aws-modules/key-pair/aws (source) module major 2.1.13.0.0

Release Notes

terraform-aws-modules/terraform-aws-key-pair (terraform-aws-modules/key-pair/aws)

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • Raise MSV of Terraform to v1.5.7 and AWS provider to v6.0 to support region argument (#​35)
Features
  • Raise MSV of Terraform to v1.5.7 and AWS provider to v6.0 to support region argument (#​35) (266b2a4)

  • If you want to rebase/retry this PR, check this box

@qodo-code-review
Copy link
Copy Markdown

Review Summary by Qodo

Update terraform-aws-key-pair module to v3.0.0

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Updates terraform-aws-key-pair module from 2.1.1 to 3.0.0
• Aligns with breaking changes requiring Terraform v1.5.7+
• Aligns with breaking changes requiring AWS provider v6.0+
• Enables support for region argument in key-pair module
Diagram
flowchart LR
  A["key-pair module v2.1.1"] -- "upgrade" --> B["key-pair module v3.0.0"]
  B -- "requires" --> C["Terraform v1.5.7+"]
  B -- "requires" --> D["AWS provider v6.0+"]
  B -- "enables" --> E["region argument support"]
Loading

Grey Divider

File Changes

1. infrastructure/ec2/main.tf Dependencies +1/-1

Update key-pair module version to 3.0.0

• Updates key-pair module version from 2.1.1 to 3.0.0
• Maintains all other module configuration parameters

infrastructure/ec2/main.tf


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown

qodo-code-review Bot commented May 1, 2026

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0)

Grey Divider


Remediation recommended

1. Stale module docs 🐞 Bug ⚙ Maintainability
Description
The EC2 module pins terraform-aws-modules/key-pair/aws to 3.0.0, but infrastructure/ec2/README.md
still documents the key_pair module as 2.1.1. This makes the published module docs inaccurate for
consumers and can cause confusion during upgrades/debugging.
Code

infrastructure/ec2/main.tf[43]

+  version            = "3.0.0"
Evidence
The code was updated to use key-pair module v3.0.0, while the generated README’s module table still
lists v2.1.1, indicating the docs were not regenerated/updated alongside the version bump.

infrastructure/ec2/main.tf[41-48]
infrastructure/ec2/README.md[1-3]
infrastructure/ec2/README.md[83-87]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

### Issue description
`infrastructure/ec2/README.md` is out of sync with the actual `key_pair` module version pinned in `infrastructure/ec2/main.tf`.

### Issue Context
The README appears to be generated (`<!-- BEGIN_TF_DOCS -->`) and should reflect the updated module dependency version.

### Fix Focus Areas
- infrastructure/ec2/main.tf[41-48]
- infrastructure/ec2/README.md[83-87]

### Suggested fix
Run the repo’s terraform-docs generation process (or manually update the README module table) so the `key_pair` module version shown in docs matches `3.0.0`.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

Qodo Logo

@github-actions github-actions Bot added bug Something isn't working chore labels May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant