Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed Jan 10, 2025
1 parent af74051 commit dc10159
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
permissions:
id-token: write # Required for OIDC authentication to Azure

steps:
steps:
- uses: actions/checkout@v4

- uses: hashicorp/setup-terraform@v3
Expand Down
8 changes: 7 additions & 1 deletion documentation/platform-faq.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Platform FAQ

## Github actions OIDC
- ```
- Terraform:
```
Error: Error building ARM Config: obtain subscription(***) from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.
```
azure/login:
```
Error: Please make sure to give write permissions to id-token in the workflow.
Error: Login failed with Error: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
```
- The permissions block may be missing. See [deploy-to-aks example](https://github.com/DFE-Digital/github-actions/tree/master/deploy-to-aks#example).
- ```
Warning: Can't add secret mask for empty string in ##[add-mask] command.
Expand Down

0 comments on commit dc10159

Please sign in to comment.