We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab7ced8 commit 07722aeCopy full SHA for 07722ae
.github/workflows/terraform.yaml
@@ -16,6 +16,10 @@ on:
16
aws-iam-role-arn:
17
required: true
18
type: string
19
+ secrets:
20
+ github-token:
21
+ description: Token to download Terraform modules from GitHub
22
+ required: true
23
24
permissions:
25
id-token: write
@@ -58,6 +62,10 @@ jobs:
58
62
with:
59
63
terraform_wrapper: false
60
64
65
+ - name: Setup Git for Private Modules
66
+ run: |
67
+ git config --global url."https://mehr74:${{ secrets.github-token }}@github.com/optiop".insteadOf "https://github.com/optiop"
68
+
61
69
- name: Terraform init
70
run: terraform -chdir=${{ inputs.path }} init -no-color
71
0 commit comments