diff --git a/docs/guides/frequently_asked_questions.md b/docs/guides/frequently_asked_questions.md index b9d092bde..bc3b35e15 100644 --- a/docs/guides/frequently_asked_questions.md +++ b/docs/guides/frequently_asked_questions.md @@ -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 diff --git a/docs/guides/service_principal_oidc.md b/docs/guides/service_principal_oidc.md index 790b7bcc6..1c4389f23 100644 --- a/docs/guides/service_principal_oidc.md +++ b/docs/guides/service_principal_oidc.md @@ -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", @@ -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 @@ -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: @@ -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: diff --git a/templates/guides/frequently_asked_questions.md b/templates/guides/frequently_asked_questions.md index b9d092bde..bc3b35e15 100644 --- a/templates/guides/frequently_asked_questions.md +++ b/templates/guides/frequently_asked_questions.md @@ -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 diff --git a/templates/guides/service_principal_oidc.md b/templates/guides/service_principal_oidc.md index 790b7bcc6..1c4389f23 100644 --- a/templates/guides/service_principal_oidc.md +++ b/templates/guides/service_principal_oidc.md @@ -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", @@ -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 @@ -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: @@ -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: