From ce025d81f5c6ce5057c90408ea71c9cbd790f40e Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Sat, 12 Oct 2024 22:11:31 -0400 Subject: [PATCH] test --- .forgejo/workflows/tofu.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/tofu.yml b/.forgejo/workflows/tofu.yml index e300676..6f0f4bd 100644 --- a/.forgejo/workflows/tofu.yml +++ b/.forgejo/workflows/tofu.yml @@ -45,12 +45,11 @@ jobs: echo "${secret} = \"${{ steps.bitwarden-secrets.outputs[secret] }}\"" >> ./terraform/terraform.tfvars done - - name: Configure AWS Credentials - uses: https://github.com/aws-actions/configure-aws-credentials@master - env: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.MY_AWS_REGION }} + - name: Set AWS Credentials + run: | + echo "[default]" > ~/.aws/credentials + echo "aws_access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.aws/credentials + echo "aws_secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.aws/credentials - name: Setup OpenTofu uses: https://github.com/opentofu/setup-opentofu@v1