File tree Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : daily
Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on : [push, pull_request]
4+ jobs :
5+ lint :
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ matrix :
9+ os : [ubuntu-latest]
10+ terraform-versions : [1.1.x]
11+ steps :
12+ - name : Checkout
13+ 14+
15+ - name : Setup Terraform
16+ 17+ with :
18+ terraform_version : ${{ matrix['terraform-versions'] }}
19+ terraform_wrapper : false
20+
21+ - name : Terraform fmt
22+ id : fmt
23+ run : terraform fmt -check
Original file line number Diff line number Diff line change @@ -8,12 +8,11 @@ In particular:
88- Optionally, it creates a user named after the database when not specified.
99- Optionally, it creates two roles to obtain credentials via Vault:
1010
11- - ` ${vault_backend_path}/${DBNAME}-all-privileges ` with ` ALL PRIVILEGES ` permissions.
12- - ` ${vault_backend_path}/${DBNAME}-read-only ` with ` SELECT ` permissions.
11+ - ` ${vault_backend_path}/${DBNAME}-all-privileges ` with ` ALL PRIVILEGES ` permissions.
12+ - ` ${vault_backend_path}/${DBNAME}-read-only ` with ` SELECT ` permissions.
1313
1414- When the intent is to use Vault, it's recommended to ** NOT** provide the ` plaintext_password ` .
1515
16-
1716## Usage
1817
1918``` hcl
@@ -35,5 +34,6 @@ module "my_database" {
3534 # Optional
3635 vault_backend_path = "mysql/my-cluster"
3736 vault_db_connection_name = "my-cluster"
37+ vault_role_default_ttl = 3600
3838}
3939```
You can’t perform that action at this time.
0 commit comments