Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Oct 16, 2024
1 parent 602363b commit 599d7f0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/guides/frequently_asked_questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-
## After applying the configuration, running terraform plan found there's still a change?

More context:
```
```shell
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place

Expand Down
8 changes: 4 additions & 4 deletions docs/guides/service_principal_oidc.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ az rest --method POST \

Where the body is:

```json
```shell
{
"name":"${REPO_NAME}-pull-request",
"issuer":"https://token.actions.githubusercontent.com",
Expand Down Expand Up @@ -101,7 +101,7 @@ When running Terraform in GitHub Actions, the provider will detect the `ACTIONS_

For GitHub Actions workflows, you'll need to ensure the workflow has `write` permissions for the `id-token`.

```yaml
```shell
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -155,7 +155,7 @@ provider "azapi" {

And here is an example of azure-pipelines.yml file:

```yaml
```shell
- task: AzureCLI@2
displayName: Acc Tests with OIDC Token
inputs:
Expand Down Expand Up @@ -195,7 +195,7 @@ provider "azapi" {

And here is an example of azure-pipelines.yml file:

```yaml
```shell
- task: AzureCLI@2
displayName: Acc Tests with OIDC Azure Pipeline
inputs:
Expand Down
2 changes: 1 addition & 1 deletion templates/guides/frequently_asked_questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-
## After applying the configuration, running terraform plan found there's still a change?

More context:
```
```shell
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place

Expand Down
8 changes: 4 additions & 4 deletions templates/guides/service_principal_oidc.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ az rest --method POST \

Where the body is:

```json
```shell
{
"name":"${REPO_NAME}-pull-request",
"issuer":"https://token.actions.githubusercontent.com",
Expand Down Expand Up @@ -101,7 +101,7 @@ When running Terraform in GitHub Actions, the provider will detect the `ACTIONS_

For GitHub Actions workflows, you'll need to ensure the workflow has `write` permissions for the `id-token`.

```yaml
```shell
permissions:
id-token: write
contents: read
Expand Down Expand Up @@ -155,7 +155,7 @@ provider "azapi" {

And here is an example of azure-pipelines.yml file:

```yaml
```shell
- task: AzureCLI@2
displayName: Acc Tests with OIDC Token
inputs:
Expand Down Expand Up @@ -195,7 +195,7 @@ provider "azapi" {

And here is an example of azure-pipelines.yml file:

```yaml
```shell
- task: AzureCLI@2
displayName: Acc Tests with OIDC Azure Pipeline
inputs:
Expand Down

0 comments on commit 599d7f0

Please sign in to comment.