Skip to content

Commit

Permalink
Merge pull request #284 from signalwire/azure-debug
Browse files Browse the repository at this point in the history
revert changes
  • Loading branch information
lucasmellos authored May 13, 2024
2 parents a980177 + e5a733f commit 31d520c
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/iac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ jobs:
environment:
name: ${{ inputs.ENVIRONMENT }}

permissions:
contents: 'read'
id-token: 'write'
permissions: write-all

steps:
- name: Install dependencies
Expand All @@ -138,17 +136,15 @@ jobs:
- name: cleanup old checkout
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*;

- name: 'Checkout'
uses: actions/checkout@v4

- name: Checkout actions
uses: actions/checkout@v4
with:
repository: signalwire/actions-template
ref: main
path: actions

- name: 'Checkout'
uses: actions/checkout@v4
with:
clean: false

- name: Configure AWS Credentials
uses: aws-actions/[email protected]
Expand Down Expand Up @@ -197,9 +193,6 @@ jobs:
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}

- uses: opentofu/setup-opentofu@main
# - run: |
# ls -la
# ${{ inputs.WORKING_DIR }}

- name: Init
id: init
Expand Down Expand Up @@ -253,7 +246,7 @@ jobs:
OVH_APPLICATION_SECRET: ${{ secrets.OVH_APPLICATION_SECRET }}
OVH_CONSUMER_KEY: ${{ secrets.OVH_CONSUMER_KEY }}
OVH_CLOUD_PROJECT_SERVICE: ${{ secrets.OVH_CLOUD_PROJECT_SERVICE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ github.token }}
# TF_LOG: trace

- name: Generate token
Expand Down

0 comments on commit 31d520c

Please sign in to comment.