Skip to content

Test TF docs change#3

Closed
TobiasBabin wants to merge 12 commits intomainfrom
test-tf-docs-change
Closed

Test TF docs change#3
TobiasBabin wants to merge 12 commits intomainfrom
test-tf-docs-change

Conversation

@TobiasBabin
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Terraform provider version constraints in versions.tf, affecting how provider versions are selected during terraform init.

Changes:

  • Relax AWS provider constraint from ~> 6.0 to >= 6.0
  • Relax Random provider constraint from ~> 3.0 to >= 3.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread versions.tf
Comment thread versions.tf
Comment thread versions.tf
Copilot AI review requested due to automatic review settings March 26, 2026 11:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

Comments suppressed due to low confidence (1)

README.md:812

  • This repo adds terraform-docs config to hide the Providers section, but the generated docs block in README still includes a Providers section. Please re-run terraform-docs generation so the README matches the new config (or drop the config if providers should remain visible).
## Modules

No modules.

## Resources

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yaml Outdated
Comment on lines +5 to +7
sections:
hide:
- providers No newline at end of file
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

terraform-docs only auto-discovers config when it is named .terraform-docs.yml/.terraform-docs.yaml at the repository root; .github/terraform-docs.yml will be ignored unless the workflow passes it via --config. Consider renaming/moving to the default filename/location or ensure the CI workflow explicitly points terraform-docs to this file.

Copilot uses AI. Check for mistakes.
Comment thread .github/terraform-docs.yml
Comment thread README.md
Copilot AI review requested due to automatic review settings March 26, 2026 11:58
@TobiasBabin TobiasBabin removed the request for review from louisbennett March 26, 2026 11:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread versions.tf
Comment on lines 6 to 12
source = "hashicorp/aws"
version = "~> 6.0"
version = ">= 6.0"
}
random = {
source = "hashicorp/random"
version = "~> 3.0"
version = ">= 3.0"
}
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The provider constraints are now open-ended (e.g., >= 6.0), which allows future major versions (like 7.x) that may introduce breaking changes and unexpectedly break module consumers. Consider constraining to the current major series (e.g., >= 6.0, < 7.0 or keeping ~> 6.0) unless you explicitly support and test newer majors.

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +7
# Do not show providers.
# The versions that will be rendered into this block provide a snapshot only
# based on the version constraints in the "required_providers" block
# but are not useful information for module users.
sections:
hide:
- providers No newline at end of file
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

terraform-docs does not auto-detect configuration files from .github/terraform-docs.yml by default; it only auto-loads .terraform-docs.yml (and a few specific search locations) unless your workflow passes --config explicitly. As-is, CI/docs generation may ignore this file and regenerate README with the Providers section included. Either move/rename this to .terraform-docs.yml in the module root (or supported config path) or ensure the reusable workflow invokes terraform-docs with --config .github/terraform-docs.yml.

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings March 26, 2026 16:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# The versions that will be rendered into this block provide a snapshot only
# based on the version constraints in the "required_providers" block
# but are not useful information for module users.
sections:
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s a stray # foo comment in this terraform-docs configuration. It looks like leftover debug text and should be removed to keep repo configuration clean and intentional.

Copilot uses AI. Check for mistakes.
@TobiasBabin
Copy link
Copy Markdown
Contributor Author

Closing once more with testing finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants