Terraform Basics 2: DigitalOcean API Key, SSH Key, and Terraform Setup

preview_player
Показать описание


# TABLE OF CONTENTS
0:25 How to set up a DigitalOcean PAT (Personal Access Token)
1:05 How to set up an unencrypted SSH Key for DigitalOcean
2:43 How to install Terraform on Linux/Mac OS/Windows

Huge thanks to DigitalOcean for their sponsorship -- they made these videos possible!

Рекомендации по теме
Комментарии
Автор

# TABLE OF CONTENTS
0:25 How to set up a DigitalOcean PAT (Personal Access Token)
1:05 How to set up an unencrypted SSH Key for DigitalOcean
2:43 How to install Terraform on Linux/Mac OS/Windows

tutoriaLinux
Автор

"Free BSD, you already know what you're doing" XD. That's so true. Thanks for these videos

chloegirard
Автор

Hi, great tutorial btw! - Just a couple updates..

1) As you can see at 3:09 the version installed in the tutorial was 0.11.6 so if you are following along now the version is likely to be 0.12.* and the two versions are not 100% incompatible

2) As a result I got multiple 'Warning Interpolation-only expressions are deprecated'


4) Repeatedly use terraform validate after correcting to spot further issues

5) *To do all this automatically* you can just run terraform 0.12upgrade - but I thought it might be helpful to understand how to do it manually because if the upgrade process is interrupted for any reason (I got unexpected token: IDENT for example) then the files will only be half changed

AdrianGoodyer
Автор

you are like, a week late on this! I had to move to Digital Ocean a week ago and could have used this info! all the same, thanks.

bufmouse
Автор

Hi man what book or resource you will recommend to learn terraform except terraform documentation?

sammygun
Автор

ecdsa didn't work for me when provisioning the server. I kept on getting an error from terraform "Failed to parse key file ssh: unhandled key type"

regular rsa worked fine though. any particular reason for using ecdsa?

edt
Автор

If anyone watching this is having trouble in video 3 while provisioning with "ssh: unhandled key type" error, it looks like you'll need to use the ed25519 (or rsa) algorithm when generating the ssh key:

ssh-keygen -t ed25519

👆should work

bbstilson
join shbcf.ru