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
AWSTemplateFormatVersion: 2010-09-09 | |
Description: My Network Environment | |
Resources: | |
# VPC containing 3 subnets, 1 is public, while the other 2 are private for RDS | |
MyVPC: | |
Type: AWS::EC2::VPC | |
Properties: | |
CidrBlock: 10.0.0.0/16 | |
EnableDnsSupport: 'true' | |
EnableDnsHostnames: 'true' |
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 | |
# Exit on error | |
set -e | |
# Update git repository with latest | |
# Arg 1 - repository name | |
# Arg 2 - source dir | |
update_git () { | |
full_path=${2}/${1} | |
# If directory exists then run git stuff there |
NewerOlder