-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(renovate): Enable TFLint plugin updates (#40)
- Loading branch information
1 parent
3eb90ce
commit da4dc67
Showing
5 changed files
with
48 additions
and
21 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"commitMessageLowerCase": "never", | ||
"extends": ["security:only-security-updates"], | ||
"enabledManagers": ["terraform", "tflint-plugin"], | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["terraform-provider"], | ||
"registryUrls": ["https://registry.opentofu.org"], | ||
"enabled": true, | ||
"addLabels": ["tf-update"], | ||
"minimumReleaseAge": "3 days", | ||
"commitMessagePrefix": "feat({{depName}}): ", | ||
"commitMessageTopic": "{{depName}} provider" | ||
} | ||
], | ||
"tflint-plugin": { | ||
"enabled": true, | ||
"fileMatch": ["\\.tflint\\.hcl$", "\\.tflint_(ci|trunk)\\.hcl$"], | ||
"minimumReleaseAge": "3 days", | ||
"commitMessagePrefix": "feat({{depName}}): " | ||
}, | ||
"vulnerabilityAlerts": { | ||
"addLabels": ["security"], | ||
"commitMessagePrefix": "fix(deps): ", | ||
"rangeStrategy": "auto" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
# TFLint configuration file for CI/CD pipelines | ||
plugin "terraform" { | ||
enabled = true | ||
preset = "all" | ||
} | ||
|
||
Enable the AWS plugin if required | ||
plugin "aws" { | ||
enabled = true | ||
version = "0.33.0" | ||
source = "github.com/terraform-linters/tflint-ruleset-aws" | ||
|
||
# Deep check can be enabled in CI/CD pipelines, where AWS credentials are set | ||
# This configuration file should be references using the `--config` flag | ||
# Example: https://github.com/3ware/aws-network-speciality/blob/79a2be0813e053f17ed4f802705f7b6f2c350f0d/.github/workflows/terraform-ci.yaml#L114 | ||
deep_check = true | ||
} |
This file contains 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
This file was deleted.
Oops, something went wrong.