generic cloud init help and docs
treats user data and cloud init as cloud-init
generic cloud init help and docs
treats user data and cloud init as cloud-init
Helper for looking for none documented flags in Replicateds Install script https://help.replicated.com/docs/native/customer-installations/installing-via-script/
Requires, egrep and grep (for no other reason than it was quick and dirty)
git clone https://gist.github.com/abuxton/c072112152c54dfcd53833053f729580 scrape_installer && cd scrape_installer
import os | |
import sys | |
import json | |
import requests | |
def create_team(hostname, org, name, **kwargs): | |
""" | |
POST /organizations/:organization_name/teams | |
""" | |
if kwargs.get('tfe_token'): |
#!/usr/bin/env python3 | |
# Currently works for 0.12.x | |
# | |
# TODO: | |
# - use json output instead of stdout | |
# | |
# Usage: | |
# terraform plan > plan.out | |
# python terraform-import-statement-guesser.py plan.out | |
import sys |
#!/bin/bash | |
# ----- Initialize Environment ----- | |
# export TFE_HOSTNAME="tfe.company.com" | |
# export TFE_TOKEN="zzz.atlasv1.zzz" | |
# Allowed values should be seperated by a space | |
allow_list=(0.12.24 0.12.20 0.11.14) |
variable "var_a" { | |
type = "map" | |
default = { | |
"a" = "one" | |
"b" = "two" | |
} | |
} | |
variable "var_b" { | |
type = "map" |
#!/usr/bin/env bash | |
# Usage: source ./refresh_creds.sh | |
# NOTE: You *must* source this file because it modifies environment variables. | |
# Executing the script directly will not change the calling shell's environment. | |
if [ -z ${AWS_MFA_DEVICE_ARN+x} ] | |
then | |
echo "Environment variable AWS_MFA_DEVICE_ARN must be set to the ARN of your MFA device." | |
return 1 | |
fi |
a4b.amazonaws.com | |
access-analyzer.amazonaws.com | |
account.amazonaws.com | |
acm-pca.amazonaws.com | |
acm.amazonaws.com | |
airflow-env.amazonaws.com | |
airflow.amazonaws.com | |
alexa-appkit.amazon.com | |
alexa-connectedhome.amazon.com | |
amazonmq.amazonaws.com |
function Start-UNMAP { | |
<# | |
.SYNOPSIS | |
Process SCSI UNMAP on VMware Datastores | |
.DESCRIPTION | |
This Function will process SCSI UNMAP on VMware Datastores via ESXCLI -V2 | |
.Example | |
Start-UNMAP -ClusterName myCluster -DSWildcard *RAID5* |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.