Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed Jun 30, 2024
1 parent e70da03 commit 6c3e37d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/terraform-terragrunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
- name: Create Terraform CLI config directory and credentials file
run: |
sudo mkdir $HOME/.terraform.d
mkdir $HOME/.terraform.d
cd $HOME/.terraform.d
sudo touch credentials.tfrc.json
touch credentials.tfrc.json
chmod 777 credentials.tfrc.json
echo "{\"credentials\": {\"app.terraform.io\": {\"token\": \"${{ secrets.TF_API_TOKEN }}\"}}}" > credentials.tfrc.json
sudo cat credentials.tfrc.json
ls -la /home/runner
Expand Down

0 comments on commit 6c3e37d

Please sign in to comment.