Skip to content

Commit

Permalink
add use oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasisnes committed Sep 23, 2024
1 parent d4b10cd commit b29fa75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/infra-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
uses: ./.github/workflows/infra-plan-template.yml
with:
environment: ${{ matrix.environment }}
tf_state: cert
tf_state: cert.tfstate
working_dir: infra/deploy/cert
4 changes: 2 additions & 2 deletions .github/workflows/infra-plan-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
- name: Terraform Initialize
uses: altinn/altinn-platform/actions/terraform/plan@main
with:
working_directory: ${{ inputs.working_dir }}
working_directory: infra/deploy/cert
oidc_type: environment
oidc_value: ${{ inputs.environment }}

arm_client_id: ${{ vars.ARM_CLIENT_ID }}
arm_subscription_id: ${{ vars.ARM_SUBSCRIPTION_ID }}

tf_state_name: ${{ inputs.tf_state }}
tf_state_name: cert.tfstate
tf_args: -var-file=${{ env.TF_VARS_FILE }}
gh_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b29fa75

Please sign in to comment.