-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87096c7
commit 76db34f
Showing
1 changed file
with
12 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,12 @@ on: | |
PAT_GIT: | ||
required: false | ||
description: A PAT token to clone the repository | ||
KNOWN_HOSTS: | ||
required: false | ||
description: A known hosts file to clone the repository | ||
PRIVATE_SSH_KEY_TFMODULES: | ||
required: false | ||
description: A private SSH key to clone the repository | ||
|
||
jobs: | ||
terragrunt: | ||
|
@@ -149,6 +155,12 @@ jobs: | |
|
||
- uses: opentofu/setup-opentofu@v1 | ||
|
||
- name: Install SSH key | ||
uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.PRIVATE_SSH_KEY_TFMODULES }} | ||
known_hosts: ${{ secrets.KNOWN_HOSTS }} | ||
|
||
- name: Init | ||
id: init | ||
uses: gruntwork-io/[email protected] | ||
|