keycloak-scim/.github/actions/aurora-create-database/action.yml
Ryan Emerson 67f6f2f657
Add Multi-AZ Aurora DB to CI store-integration-tests
Closes #26730

Signed-off-by: Ryan Emerson <remerson@redhat.com>
2024-02-14 16:51:08 +01:00

32 lines
868 B
YAML

name: Create Aurora Database
description: Create AWS Aurora Database
inputs:
name:
description: 'The name of the Aurora DB cluster to deploy'
required: true
region:
description: 'The AWS region used to host the Aurora DB'
required: true
password:
description: 'The master password of the Aurora DB cluster'
required: false
outputs:
endpoint:
description: 'The Endpoint URL for Aurora clients to connect to'
value: ${{ steps.create.outputs.endpoint }}
runs:
using: "composite"
steps:
- id: create
shell: bash
run: |
source ./aurora_create.sh
echo "endpoint=${AURORA_ENDPOINT}" >> $GITHUB_OUTPUT
working-directory: .github/scripts/aws/rds
env:
AURORA_CLUSTER: ${{ inputs.name }}
AURORA_PASSWORD: ${{ inputs.password }}
AURORA_REGION: ${{ inputs.region }}