Minimal YAML configuration for enabling Dependabot within a Golang based repository.
Place dependabot.yaml
at .github/dependabot.yaml
within your repository and you should be good to go.
Minimal YAML configuration for enabling Dependabot within a Golang based repository.
Place dependabot.yaml
at .github/dependabot.yaml
within your repository and you should be good to go.
name: Workflow | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
first: | |
runs-on: ubuntu-latest |
A guide for removing an existing CloudFormation stack - but retaining all managed resources.
First step - we need to get the CloudFormation stack into a state of DELETE_FAILED
. This can be achieved by attempting stack delete with an IAM role that only has IAM action rights to cloudformation:DeleteStack
and cloudformation:DescribeStackResources
.
Create a new temporary IAM role with only the following allowed policy actions - for the rest of this guide that will be IAM role TEMP_CLOUDFORMATION_ROLE
:
{
Script has been handy to clean up security groups which have been used with VPC honed AWS Lambda functions and maintain an ENI association.
Why this is a problem:
AWS Lambda@Edge functions, which run under CloudFront at multiple edge locations require associated Lambda functions to exist within each AWS region.
By design, this means CloudWatch Log groups produced by Lambda@Edge functions will exist across these regions.
This Bash script will query for all log groups associated to Lambda@Edge functions for each enabled region of the current AWS account to hopefully help determine where logs are going to and/or exist.
Quick and dirty Bash script to iterate an S3 bucket and remove all object versions and delete markers.
Probably only usable on buckets with a few hundred version objects maximum, otherwise it might be more efficient and time effective to use a lifecycle rule to age out and remove objects in bulk.
A quick n' dirty bash script to install the following:
automake
, pkg-config
, PCRE
, xz
- all needed by ag
configure.ag
- from source.Requires as a minimum Xcode CLI tools (don't need a full Xcode install). Can be done via the following:
$ xcode-select --install
Using curl
and jq
to:
vX.Y.Z
(stripping beta
/rc
).$ curl --silent \