5d0cb7959e
Closes keycloak/keycloak-benchmark#803 Signed-off-by: Ryan Emerson <remerson@redhat.com>
34 lines
911 B
YAML
34 lines
911 B
YAML
name: Aurora Delete
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
name:
|
|
description: 'The name of the Aurora DB cluster'
|
|
type: string
|
|
required: true
|
|
region:
|
|
description: 'The AWS region used to host the Aurora DB'
|
|
type: string
|
|
required: true
|
|
|
|
jobs:
|
|
delete:
|
|
name: Delete Aurora DB
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Initialize AWS client
|
|
run: |
|
|
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
aws configure set region ${{ inputs.region }}
|
|
|
|
- id: delete
|
|
shell: bash
|
|
run: ./aurora_delete.sh
|
|
working-directory: .github/scripts/aws/rds
|
|
env:
|
|
AURORA_CLUSTER: ${{ inputs.name }}
|
|
AURORA_REGION: ${{ inputs.region }}
|