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

Terraform version bump and adding ssh via vscode manual #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,21 @@
* Terraform
* AWS CLI
* Ansible

# SSH via VScode
* `vagrant ssh-config` to show ssh config.
* ```
Host devops-box
HostName 127.0.0.1
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/Someone/Documents/devops-box/.vagrant/machines/devops-box/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL
```
* Open VScode and `⌘⇧P` and selecting Remote-SSH: Open Configuration File.
* Paste the vagrant ssh config.
* `⌘⇧P` and selecting Remote-SSH: Connect to Host and select `devops-box`.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ -e /etc/redhat-release ] ; then
REDHAT_BASED=true
fi

TERRAFORM_VERSION="1.0.9"
TERRAFORM_VERSION="1.2.3"
PACKER_VERSION="1.2.4"
# create new ssh key
[[ ! -f /home/ubuntu/.ssh/mykey ]] \
Expand Down