chore(terraform): update terraform modules to latest standards#123
Closed
jansdhillon wants to merge 1 commit intomainfrom
Closed
chore(terraform): update terraform modules to latest standards#123jansdhillon wants to merge 1 commit intomainfrom
jansdhillon wants to merge 1 commit intomainfrom
Conversation
- Update required_version to ~> 1.12 and juju provider to ~> 1.0 - Add terraform/.tflint.hcl at the terraform root with required_version rule - Add renovate.json with charmhub custom datasource for automated revision tracking - Add tftest setup modules for charm and product modules - Fix copyright year typo in outputs.tf (2026 -> 2025) - Update README docs sections to reflect new version constraints Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
Closing in favor of PR #124 which includes all the same changes plus fixes. The branch charmkeeper/terraform is protected by a ruleset requiring PRs, so the fixes could not be pushed directly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR aligns the Terraform modules with the team's latest standards.
Changes
terraform/charm/versions.tf: Updatedrequired_versionfrom>= 1.10to~> 1.12and juju provider to~> 1.0terraform/product/modules/landscape-scalable/versions.tf: Same version updatesterraform/.tflint.hcl: Added tflint config at terraform root withterraform_required_versionrule enabled (as per standard)renovate.json: Added with charmhub custom datasource for automated terraform revision tracking (renovate will auto-update charm revision numbers in.tftest.hclfiles)terraform/charm/tests/main.tftest.hclandterraform/charm/tests/setup/main.tf: Added integration test setup for the charm moduleterraform/product/modules/landscape-scalable/tests/main.tftest.hcland tests/setup/main.tf`: Added integration test setup for the product moduleterraform/charm/outputs.tf: Fixed copyright year typo (2026 → 2025)terraform/charm/README.mdand product README: Updated version constraint in auto-generated docs sectionMissing (requires
workflowscope on token)The following file could not be pushed due to token permission limitations and needs to be added manually:
.github/workflows/test_terraform_modules.yaml:Testing
All mock-provider terraform tests pass:
This PR was opened by the charmkeeper agent.