# use1-prod.yaml
import:
- catalog/component/data
- catalog/app-stack/example-app
- catalog/app-stack/foobar-app
- globals
components:
I hereby claim:
- I am sgtoj on github.
- I am sgtoj (https://keybase.io/sgtoj) on keybase.
- I have a public key ASB_Va_bmMS89pI1oQuxOPhmPh2ywg8bZwFJ2G8Jv54bEgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import json | |
import os | |
import sys | |
from configparser import ConfigParser | |
from datetime import datetime | |
from pathlib import Path | |
import boto3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import os | |
import sys | |
import boto3 | |
from botocore.exceptions import ClientError | |
# -------------------------------------------------------------------- main --- | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import json | |
import re | |
import sys | |
import os | |
import boto3 | |
# -------------------------------------------------------------------- main --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
from configparser import SafeConfigParser | |
from pathlib import Path | |
import boto3 | |
import botocore | |
AWS_PROFILE_PATH = f"{Path.home()}/.aws/credentials" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import boto3 | |
# parameters for source account | |
SRC_ACCOUNT_PROFILE = 'aws_profile_name' | |
SRC_ACCOUNT_REGION = 'us-east-1' | |
SRC_TABLE = 'your-source-table-name' | |
# parameters for destination account | |
DST_ACCOUNT_PROFILE = 'aws_profile_name' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ========================================================== configurations === | |
RAID_NAME=ephemeral_raid | |
RAID_DEVICE=/dev/md0 | |
RAID_MOUNT_PATH=/mnt/ephemeral | |
# =============================================================== functions === |
Python 3.6 is not avaliable via apt-get
using a trusted source for the
WSL's current version of Ubuntu (v16.04). Therefore, it is recommended to
install Python 3.6 from source using the steps below. Be warned,
installing Python from source takes several minutes to complete.
sudo apt-get install -y build-essential checkinstall
sudo apt-get install -y libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
cd /usr/src
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
- Set
EditionID
Key toProfessional
- Set
ProductName
Key toWindows 10 Professional
- Set
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion
- Set
EditionID
Key toProfessional
- Set
ProductName
Key toWindows 10 Professional
- Set
NewerOlder