Skip to content

Commit 5020c4f

Browse files
authored
First iteration (#1)
1 parent 3743934 commit 5020c4f

File tree

12 files changed

+1099
-0
lines changed

12 files changed

+1099
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @Pararius/devops

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Continuous Integration
3+
4+
on:
5+
pull_request:
6+
7+
jobs:
8+
check-formatting:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Check formatting
14+
run: terraform fmt -check
15+
16+
validate-module:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
21+
- name: Run terraform init
22+
run: terraform init
23+
24+
- name: Validate module
25+
run: terraform validate

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.terraform/
2+
.terraform.lock.hcl

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Terraform module to manage postgres roles
2+
3+
See [examples/](examples/) for some examples:
4+
* [simple](examples/simple): Bare minimum; can also be used to quickly check impact of changes made to module
5+
* [full](examples/full): Complete example, including provisioning of GCP CloudSQL instance
6+
7+
NOTE: Using this module requires a two step approach using separate `terraform apply` runs:
8+
* Provision the postgres instance itself
9+
* Configure the `postgres` provider and provision (additional) roles using this module

0 commit comments

Comments
 (0)