SOLUTION VERIFIED - Updated March 13 2018 at 7:49 AM -
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
update_system() | |
{ | |
sudo yum check-update -y && sudo yum update -y | |
} | |
install_dependencies(){ | |
if grep "(Amazon Linux*)\w+" /etc/os-release; then | |
sudo amazon-linux-extras install epel -y | |
else | |
yum install -y epel-release |
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
ssh-add &>/dev/null || eval `ssh-agent` &>/dev/null # start ssh-agent if not present | |
[ $? -eq 0 ] && { # ssh-agent has started | |
ssh-add ~/.ssh/id_rsa &>/dev/null # Default identity | |
ssh-add ~/.ssh/<user-key> &>/dev/null # user-key | |
} |
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
### Keybase proof | |
I hereby claim: | |
* I am rh917 on github. | |
* I am rhambacher (https://keybase.io/rhambacher) on keybase. | |
* I have a public key whose fingerprint is 9A8F A5AC 2DB1 81B6 9FEF CC2A 4418 4F89 A0B1 9140 | |
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
2018/10/19 21:13:57 [INFO] Terraform version: 0.11.9 4e44b41c8bc1b533d14f9939690adf09e3d2a2be | |
2018/10/19 21:13:57 [INFO] Go runtime version: go1.11.1 | |
2018/10/19 21:13:57 [INFO] CLI args: []string{"/usr/bin/terraform", "apply", "-auto-approve"} | |
2018/10/19 21:13:57 [DEBUG] Attempting to open CLI config file: /home/<user>/.terraformrc | |
2018/10/19 21:13:57 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/10/19 21:13:57 [INFO] CLI command args: []string{"apply", "-auto-approve"} | |
2018/10/19 21:13:57 [INFO] command: empty terraform config, returning nil | |
2018/10/19 21:13:57 [DEBUG] command: no data state file found for backend config | |
2018/10/19 21:13:57 [DEBUG] New state was assigned lineage "b1202900-1847-dbfa-2c87-4b7c798fa367" | |
2018/10/19 21:13:57 [INFO] command: backend initialized: <nil> |
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
// Hardware | |
Raspberry Pi 3 Kit http://a.co/422xQct | |
SDR Kit http://a.co/1G69C9q | |
Micro SDXC card http://a.co/fHv0N51 | |
// Hardware Optional: | |
Type N to SMA Male Antenna Cable http://a.co/hfQ9SC5 | |
1090Mhz ADS-B Antenna http://a.co/eoGH7Q1 | |
SMA male to SMA male cable (if filter used) http://a.co/dPecYdq |
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
import boto3 | |
import logging | |
#setup simple logging for INFO | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
#define the connection | |
ec2 = boto3.resource('ec2') |