other necessary files included. cmd+alt+b will select the line and make it a full comment block
awk '{print "#" $0}' *.tf
#!/bin/bash | |
run_datetime=`date +%F_%H-%M-%S` | |
test_artifacts_name="${run_datetime}/TEST" | |
dev_artifacts_name="${run_datetime}/DEV" | |
run() { | |
rm -rf 2021-* | |
mkdir -p $test_artifacts_name $dev_artifacts_name |
#!/usr/bin/env python3 | |
import argparse | |
import boto3 | |
import json | |
import os | |
from datetime import datetime | |
parser = argparse.ArgumentParser( |
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: ubuntu | |
labels: | |
app: ubuntu | |
spec: | |
restartPolicy: Always | |
containers: |
#!/bin/bash -e | |
# run with | |
# git clone https://gist.github.com/a43c1352d3ddc84f61af43bf38661beb.git | |
# bash ./a43c1352d3ddc84f61af43bf38661beb/update-terraform-module.sh | |
git clone https://github.com/rhythmictech/terraform-terraform-template.git tmp | |
rm -rf .github bin | |
mv tmp/.github .github |
#!/bin/bash | |
helm list -A | while read line; do | |
linearray=($line) | |
release=${linearray[0]} | |
namespace=${linearray[1]} |
import datetime | |
from datetime import timedelta, date | |
def test_backfill(): | |
numdays = 720 | |
base = datetime.datetime.today() | |
date_list = [base - datetime.timedelta(days=x) for x in range(numdays)] | |
with open('mahdates.csv', 'w') as f: | |
for date in date_list: |
#!/bin/env python3 | |
""" | |
Script to turn all the SSM parameters in one region into terraform resources | |
it can also turn them into JSON with get_parameters_with_values_as_json() | |
Use different regions with the env var AWS_DEFAULT_REGION | |
ie for Northern Cali use: | |
export AWS_DEFAULT_REGION=us-west-1 | |
""" |