Skip to content

Commit dd21010

Browse files
authored
Initial commit
0 parents  commit dd21010

File tree

11 files changed

+1079
-0
lines changed

11 files changed

+1079
-0
lines changed

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: [abhiyerra]
4+
# patreon: # Replace with a single Patreon username
5+
# open_collective: # Replace with a single Open Collective username
6+
# ko_fi: # Replace with a single Ko-fi username
7+
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
# liberapay: # Replace with a single Liberapay username
10+
# issuehunt: # Replace with a single IssueHunt username
11+
# otechie: # Replace with a single Otechie username
12+
# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: ["https://www.opszero.com"]

.github/dependabot.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "terraform"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"
16+
- package-ecosystem: "npm"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
- package-ecosystem: "pip"
21+
directory: "/"
22+
schedule:
23+
interval: "weekly"

.github/pull_request_template.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Closes # .
2+
3+
# Code Checklist
4+
5+
Ensure the following tasks are completed.
6+
7+
- [ ] Is dependencies added with `poetry add`?
8+
- [ ] Is the README.md updated?
9+
- [ ] Are tests included?
10+
- [ ] Are the tests running?
11+
- [ ] Are the names of the files correct?
12+
- [ ] Add PR/Issue to opsZero Project and set to `Review` column
13+
14+
# Reviewer Checklist
15+
16+
- [ ] Go through https://docs.opszero.com/intro.html#pull-request-checklist
17+
18+
# Business Checklist
19+
20+
- [ ] Is the marketing landing page updated?
21+
- [ ] Is the sales proposal updated?
22+
- [ ] Is the documentation updated

.github/workflows/tfdocs.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Generate terraform docs
2+
on: [push]
3+
4+
jobs:
5+
docs:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
with:
10+
ref: main
11+
12+
- name: Render terraform docs inside the README.md and push changes back to PR branch
13+
uses: terraform-docs/gh-actions@v1.4.1
14+
with:
15+
working-dir: .
16+
config-file: .terraform-docs.yml
17+
output-file: README.md
18+
output-method: inject
19+
indention: 3
20+
git-push: true
21+
git-commit-message: "terraform-docs: automated action"

.github/workflows/tfsec.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: tfsec
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
schedule:
8+
- cron: '15 19 * * 6'
9+
10+
jobs:
11+
tfsec:
12+
name: Run tfsec sarif report
13+
runs-on: ubuntu-latest
14+
permissions:
15+
actions: read
16+
contents: read
17+
security-events: write
18+
19+
steps:
20+
- name: Clone repo
21+
uses: actions/checkout@v4
22+
23+
- name: Run tfsec
24+
uses: aquasecurity/tfsec-sarif-action@21ded20e8ca120cd9d3d6ab04ef746477542a608
25+
with:
26+
sarif_file: tfsec.sarif
27+
28+
- name: Upload SARIF file
29+
uses: github/codeql-action/upload-sarif@v3
30+
with:
31+
# Path to SARIF file relative to the root of the repository
32+
sarif_file: tfsec.sarif

.terraform-docs.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
formatter: "markdown"
2+
3+
version: ""
4+
5+
recursive:
6+
enabled: false
7+
path: modules
8+
9+
sections:
10+
hide: []
11+
show: []
12+
13+
content: |-
14+
{{ include "./usage.md" }}
15+
{{ .Providers }}
16+
{{ .Inputs }}
17+
{{ .Resources }}
18+
{{ .Outputs }}
19+
{{ include "./SUPPORT" }}
20+
output:
21+
file: README.md
22+
mode: inject
23+
template: |-
24+
<!-- BEGIN_TF_DOCS -->
25+
{{ .Content }}
26+
<!-- END_TF_DOCS -->
27+
output-values:
28+
enabled: false
29+
from: ""
30+
31+
sort:
32+
enabled: true
33+
by: name
34+
35+
settings:
36+
anchor: true
37+
color: true
38+
default: true
39+
description: false
40+
escape: true
41+
hide-empty: false
42+
html: true
43+
indent: 2
44+
lockfile: true
45+
read-comments: true
46+
required: true
47+
sensitive: true
48+
type: true

0 commit comments

Comments
 (0)