Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoppe committed Jan 14, 2022
0 parents commit 6568255
Show file tree
Hide file tree
Showing 15 changed files with 443 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @dhoppeIT
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
commit-message:
prefix: chore
include: scope
labels:
- dependencies
- github-actions
- package-ecosystem: terraform
directory: /
schedule:
interval: daily
commit-message:
prefix: chore
include: scope
labels:
- dependencies
- terraform
68 changes: 68 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
repository:
name: terraform-child-module
description: Terraform module to manage the Terraform Cloud/Enterprise resource (tfe_FIXME)
homepage: https://registry.terraform.io/modules/dhoppeIT/FIXME/tfe/latest
topics: terraform, tfe, FIXME
private: true
has_issues: true
has_projects: false
has_wiki: false
has_downloads: true
default_branch: main
allow_squash_merge: true
allow_merge_commit: true
allow_rebase_merge: true
delete_branch_on_merge: true
enable_automated_security_fixes: true
enable_vulnerability_alerts: true
archived: false

labels:
- name: backwards-incompatible
color: eb6420
- name: beginner-friendly
color: d4c5f9
- name: bug
color: 0e8a16
- name: docs
color: 006b75
- name: duplicate
color: cccccc
- name: enhancement
color: 0052cc
- name: invalid
color: e4e669
- name: needs-docs
color: 006b75
- name: needs-feedback
color: 5319e7
- name: needs-help
color: d4c5f9
- name: needs-rebase
color: 207de5
- name: needs-squash
color: c2e0c6
- name: needs-tests
color: f7c6c7
- name: needs-work
color: fbca04
- name: release-summary
color: bfdadc
- name: skip-changelog
color: 343e4c
- name: tests-fail
color: e11d21
- name: wont-fix
color: "000000"

branches:
- name: main
protection:
required_pull_request_reviews: null
required_status_checks:
strict: true
contexts: []
enforce_admins: null
required_linear_history: true
restrictions: null
17 changes: 17 additions & 0 deletions .github/workflows/commits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Commits

on:
pull_request:

jobs:
commits:
name: Validate Commits
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Validate Commits
uses: docker://aevea/commitsar
23 changes: 23 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Readme

on:
pull_request:

jobs:
readme:
name: Generate Readme
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Generate Readme
uses: terraform-docs/gh-actions@v0.11.0
with:
working-dir: .
output-file: README.md
output-method: inject
git-commit-message: "docs: Generate README.md"
git-push: true
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Release

on:
push:
branches:
- main

jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Create Release
uses: GoogleCloudPlatform/release-please-action@v3
with:
release-type: terraform-module
bump-minor-pre-major: true
pull-request-title-pattern: "chore${scope}: Release${component} ${version}"
26 changes: 26 additions & 0 deletions .github/workflows/terraform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: Terraform

on:
push:
branches:
- main
pull_request:

jobs:
terraform:
name: Validate Terraform
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.1.0
- name: Terraform Format
run: terraform fmt -check -diff
- name: Terraform Init
run: terraform init
- name: Terraform Validate
run: terraform validate -no-color
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate
*.tfstate.*

# Crash log files
crash.log

# Ignore any .tfvars files that are generated automatically for each Terraform run. Most
# .tfvars files are managed as part of configuration and so should be included in
# version control.
#
# example.tfvars

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Include override files you do wish to add to version control using negated pattern
#
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*
Loading

0 comments on commit 6568255

Please sign in to comment.