Skip to content

Instantly share code, notes, and snippets.

View retgef's full-sized avatar

Brian Fegter retgef

View GitHub Profile
@retgef
retgef / create_deployment.sh
Created June 29, 2018 19:29 — forked from kgorskowski/create_deployment.sh
recreate latest successful codedeploy deployment. needs awscli, jq and corresponding iam permissions
#!/bin/bash
#your variables here, you can set AWS credentials here as well
AWS_REGION=$YourAWSRegion
DEP_GROUP=$NameOfYourCodeDeployDeploymentGroup
APP_NAME=$NameOfYourCDApplication
# list successfull deployments only
STATUS=Succeeded