name: TF Acceptance Test CleanUp on: workflow_dispatch: inputs: list_only: description: "only list resources" type: boolean default: true required: true res_prefix: description: "resource name prefix" type: string default: 'tf-acc-' required: true log_level: description: 'Log Level' required: true default: 'warning' type: choice options: - info - warning - debug - error jobs: clean: name: Clean up runs-on: stackit-docker steps: - name: Checkout uses: actions/checkout@v6 - name: Notify uses: ./.github/actions/notify with: webhook_url: ${{ secrets.GOOGLE_WEBHOOK_URL }} title: CLEAN UP pipeline started event_title: ${{ github.event_name }} event_author: ${{ github.actor }} event_body: "Filter: ${{ inputs.res_prefix }}" event_number: ${{ github.run_number }} event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}" - name: Clean uses: ./.github/actions/clean_up with: project_id: ${{ vars.TF_ACC_PROJECT_ID }} region: 'eu01' tf_resource_prefix: ${{ inputs.res_prefix }} service_account_json_content_b64: "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON_B64 }}" list_only: ${{ inputs.list_only }} log_level: ${{ inputs.log_level }}