generated from 3ware/workflows
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-ssh-key
Signed-off-by: Chris Harrison <36608309+chris3ware@users.noreply.github.com>
- Loading branch information
Showing
26 changed files
with
545 additions
and
59 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
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,4 +1 @@ | ||
skip-check: | ||
- CKV_GIT_1 # Repos can be public | ||
- CKV_GIT_5 # PRs only need 1 approval | ||
- CKV2_GIT_1 # Disable as using repository rules | ||
skip-check: {} |
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,31 @@ | ||
name: Trunk Code Quality setup | ||
description: Set up dependencies for Trunk Code Quality | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
# Find tf working directory | ||
- name: Get terraform working directory | ||
id: tf-dir | ||
uses: tj-actions/changed-files@4918e1183080b35a085c91c8abc9e6adc4de61a1 # v42.1.0 | ||
with: | ||
files: | | ||
tf/**/*.tf | ||
tf/**/*.tfvars | ||
dir_names: true | ||
|
||
# Install OpenTofu | ||
- name: Setup OpenTofu | ||
if: ${{ steps.tf-dir.outputs.all_changed_files != '' }} | ||
uses: opentofu/setup-opentofu@ae80d4ecaab946d8f5ff18397fbf6d0686c6d46a # v1.0.3 | ||
|
||
# Initialise OpenTofu in the directory where terraform file have changed. | ||
- name: Initialise OpenTofu | ||
if: ${{ steps.tf-dir.outputs.all_changed_files != '' }} | ||
shell: bash | ||
env: | ||
TF_DIRS: ${{ steps.tf-dir.outputs.all_changed_files }} | ||
run: | | ||
for dir in ${TF_DIRS}; do | ||
cd $GITHUB_WORKSPACE/$dir && tofu init --backend=false | ||
done |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
service = "cdn" | ||
# enable_cloudfront = true | ||
# demo_domain_name = "your-demo-domain" | ||
# secure_s3_bucket = 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.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
environment = "dev" | ||
service = "vpc-peer" | ||
|
||
vpc = { | ||
a4l-vpca = { | ||
cidr = "10.16.0.0/16" | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.