mirror of
https://github.com/keycloak/keycloak.git
synced 2026-05-26 13:50:48 +00:00
e79ce1804d
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 6.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.2.2...de0fac2e4500dabe0009e67214ff5f5447ce83dd) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
38 lines
989 B
YAML
38 lines
989 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
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
delete:
|
|
name: Delete Aurora DB
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- 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 }}
|