Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lpm0073/aws-eks-delete-deployment

Delete a AWS EKS k8s deployment from a namespace, if it exists
https://github.com/lpm0073/aws-eks-delete-deployment

Last synced: 10 days ago
JSON representation

Delete a AWS EKS k8s deployment from a namespace, if it exists

Awesome Lists containing this project

README

        

[![hack.d Lawrence McDaniel](https://img.shields.io/badge/hack.d-Lawrence%20McDaniel-orange.svg)](https://lawrencemcdaniel.com)

[![AWS](https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge&logo=amazon-aws&logoColor=white)](https://aws.amazon.com/)
[![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white)](https://www.docker.com/)
[![Kubernetes](https://img.shields.io/badge/kubernetes-%23326ce5.svg?style=for-the-badge&logo=kubernetes&logoColor=white)](https://kubernetes.io/)

# aws-eks-delete-deployment

Deletes a deployment from AWS EKS cluster, if it exists.
## Usage:

```yaml
name: Example workflow

on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest

steps:
# required antecedent
- uses: actions/checkout@v3

# required antecedent
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.THE_NAME_OF_YOUR_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.THE_NAME_OF_YOUR_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2

# This action
- name: Delete a deployment
uses: lpm0073/aws-eks-delete-deployment
with:
aws-eks-name: your-cluster
aws-eks-region: us-east-2
aws-eks-namespace: your-namespace
aws-eks-deployment: your-app

```