Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes a few issues in m7_commands.txt #35

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions m7/m7_commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $env:AWS_PROFILE="deep-dive"
copy .\m7\application_config_example\ .\application_config -Recurse

## Bash or zsh
cp ./m7/application_config_example ./application_config
cp -r ./m7/application_config_example ./application_config

## Create Git Repository
# Start by setting the GitHub token environment variable
Expand Down Expand Up @@ -55,8 +55,8 @@ git push origin --force
# Make sure checks complete
# Add new workspace to Terraform Cloud linked to Repository
# Add the necessary variable inputs using the portal or commands below
aws ec2 describe-vpcs --region=us-east-1 --filters "Name=tag:Name, Values=globo-dev" --query Vpcs[].VpcId --output text
aws ec2 describe-subnets --region=us-east-1 --filters "Name=vpc-id,Values=vpc-0fa3eb2daaeae0e29" --query Subnets[].SubnetId
aws ec2 describe-vpcs --region=us-east-1 --filters "Name=tag:Name, Values=globo-dev" --query 'Vpcs[*].VpcId' --output text
aws ec2 describe-subnets --region=us-east-1 --filters "Name=vpc-id,Values=vpc-0fa3eb2daaeae0e29" --query 'Subnets[].SubnetId'

# Check config of first EC2 instance
ssh -i PATH_TO_PEM_FILE ec2-user@PUBLIC_IP_ADDRESS
Expand Down Expand Up @@ -94,4 +94,4 @@ git push --set-upstream origin tfe-outputs
# Add new variable values to application workspace
# Create pull request and merge once there are no changes

# Merge the changes back to the main branch in GitHub too
# Merge the changes back to the main branch in GitHub too