Skip to content

feat: add vars for kms key policy #22

feat: add vars for kms key policy

feat: add vars for kms key policy #22

Workflow file for this run

name: test-component
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
branches:
- main
paths:
- "**.tf"
- "**.go"
- ".github/**"
permissions:
id-token: write
contents: read
defaults:
run:
# We need -e -o pipefail for consistency with GitHub Actions' default behavior
shell: bash -e -o pipefail {0}
jobs:
terraform-test:
runs-on: ubuntu-latest
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.AWS_COMMERCIAL_ROLE_TO_ASSUME }}
role-session-name: ${{ github.event.client_payload.pull_request.head.sha || github.sha }}
aws-region: us-east-1
# 21600 seconds == 6 hours
# 1800 seconds == 30 minutes
role-duration-seconds: 1800
- name: Run Shared Test workfow
uses: defenseunicorns/uds-common-workflows/.github/actions/terraform-test@main
with:
test_retry: 1