Skip to content

Commit dbcaa92

Browse files
fix: sync with core template (#9)
## what - sync files from the mp tf template <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated configuration files to refine review behavior, linter settings, and documentation rules. - Clarified and improved handling of Terraform lock files in version control. - Upgraded tool versions for Terraform and OpenTofu, and added explicit tags for package management. - Enhanced markdown linting by relaxing line length restrictions. - Improved linter ignore patterns and enabled Renovate linter for better dependency management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 7af14a3 commit dbcaa92

File tree

6 files changed

+25
-12
lines changed

6 files changed

+25
-12
lines changed

.coderabbit.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ language: en
77
tone_instructions: |
88
Provide feedback in a professional, friendly, constructive, and concise tone.
99
Offer clear, specific suggestions and best practices to help enhance the code quality and promote learning.
10+
Be concise and only comment on significant issues.
1011
1112
early_access: true
1213

@@ -26,21 +27,25 @@ knowledge_base:
2627
reviews:
2728
profile: chill
2829
auto_review:
29-
# Ignore reviewing if the title of the pull request contains any of these keywords (case-insensitive)
30+
# Disable incremental code review on each push
31+
auto_incremental_review: false
32+
# The keywords are case-insensitive
3033
ignore_title_keywords:
3134
- wip
3235
- draft
3336
- test
34-
# Set the commit status to 'pending' when the review is in progress and 'success' when it is complete.
3537
commit_status: false
36-
# Post review details on each review. Additionally, post a review status when a review is skipped in certain cases.
37-
review_status: false
3838
path_instructions:
3939
- path: "**/*.tf"
4040
instructions: |
4141
You're a Terraform expert who has thoroughly studied all the documentation from Hashicorp https://developer.hashicorp.com/terraform/docs and OpenTofu https://opentofu.org/docs/.
4242
You have a strong grasp of Terraform syntax and prioritize providing accurate and insightful code suggestions.
4343
As a fan of the Cloud Posse / SweetOps ecosystem, you incorporate many of their best practices https://docs.cloudposse.com/best-practices/terraform/ while balancing them with general Terraform guidelines.
44+
changed_files_summary: false
45+
poem: false
46+
# Don't post review details on each review.
47+
review_status: false
48+
sequence_diagrams: false
4449
tools:
4550
# By default, all tools are enabled.
4651
# Masterpoint uses Trunk (https://trunk.io) so we do not need a lot of this feedback due to overlap.

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
# Local .terraform directories
1010
**/.terraform/*
1111

12-
# Terraform lock file
12+
# Ignore the root .terraform.lock.hcl file (Child modules don't want this)
1313
.terraform.lock.hcl
14+
!examples/**/.terraform.lock.hcl
1415

1516
# IDE/Editor settings
1617
**/.idea
@@ -42,4 +43,4 @@ backend.tf.json
4243
**/*.temp
4344
**/*.bak
4445
**/*.*swp
45-
**/.DS_Store
46+
**/.DS_Store

.terraform-docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ recursive:
66

77
settings:
88
lockfile: false
9-
path: .
109

1110
output:
1211
file: README.md

.trunk/configs/.markdownlint.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ whitespace: false
1212
# Ignore MD041/first-line-heading/first-line-h1
1313
# Error: First line in a file should be a top-level heading
1414
MD041: false
15+
16+
# Ignore MD013/line-length
17+
MD013:
18+
strict: false
19+
line_length: 350

.trunk/trunk.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ lint:
2020
# Incompatible with some Terraform features: https://github.com/tenable/terrascan/issues/1331
2121
- terrascan
2222
enabled:
23+
- renovate@40.0.0
2324
- tofu@1.9.1
2425
- actionlint@1.7.7
2526
- checkov@3.2.435
@@ -35,9 +36,9 @@ lint:
3536
paths:
3637
- "**/backend.tf.json"
3738
# Ignore CHANGELOG.md as release-please manages this file
38-
- linters: [prettier, markdownlint]
39+
- linters: [ALL]
3940
paths:
40-
- CHANGELOG.md
41+
- "**/CHANGELOG.md"
4142
actions:
4243
enabled:
4344
- terraform-docs

aqua.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
# - all
99
registries:
1010
- type: standard
11-
ref: v4.210.0 # renovate: depName=aquaproj/aqua-registry
11+
ref: v4.355.0 # renovate: depName=aquaproj/aqua-registry
1212
packages:
1313
- name: terraform-docs/terraform-docs@v0.20.0
14-
- name: hashicorp/terraform@v1.9.3
15-
- name: opentofu/opentofu@v1.8.0
14+
- name: hashicorp/terraform@v1.11.4
15+
tags: [terraform]
16+
- name: opentofu/opentofu@v1.9.1
17+
tags: [tofu]

0 commit comments

Comments
 (0)