diff --git a/m7/m7_commands.txt b/m7/m7_commands.txt index 6d293005..ca293eb2 100644 --- a/m7/m7_commands.txt +++ b/m7/m7_commands.txt @@ -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 @@ -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 @@ -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 \ No newline at end of file +# Merge the changes back to the main branch in GitHub too