How to use Terraform to Manage AWS [TUTORIAL]

preview_player
Показать описание
Introduction to using Terraform to manage a simple EC2 instance in AWS.

Pre-requisites:

Links:

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

I bought the Django/Docker Udemy course from this guy, can confirm it's top quality. I used this knowledge and my code from the course project to get my first dev job.

saitaro
Автор

It is a very good tutorial, I'm used to aws and tf, but the way you do it (aws-vault, docker-compose etc.) is brilliant.
Congrats

rouwenpi
Автор

jus stumbled into your chanel now brilant tutorial excelent delivery. Anoher thing i enjoyed is listening to that voice its too angelic it makes the whole thing to sink in.Nice job man, you have a sub in me

oluwakemiayeni
Автор

He is really brilliant and good at teaching.

dongwang
Автор

Awesome, Simple loved the video. Very nicely explained.

likheshmahajan
Автор

Thanks for the tutorial with aws-vault. Rest of the videos over the YouTube are with "aws configure".
Well, I already had the Terraform 12 installed on my windows, I didn't use the docker-compose approach.
After following the entire video, I was not able to run "terraform plan".
Error: No valid credential sources found for AWS Provider...

Terraform was not able to identify the "key-name" under "aws_instances". I had given the exact key-pair name which I created using ssh-keygen and imported into the EC2 key pairs.


Finally, I had to run every terraform command with the prefix - "aws-vault exec <profile> -- "
like below:
aws-vault exec <profile> -- terraform init
aws-vault exec <profile> -- terraform plan
aws-vault exec <profile> -- terraform apply
aws-vault exec <profile> -- terraform destroy

samarthurs
Автор

You did an excellent job! This was simple to follow and easy to understand.

holyproton
Автор

Brilliant! I really enjoyed this Tutorial, well done.

alirezacom
Автор

Nice explanation and demo - helps quickly understanding the concepts well

biswaranjansahoo
Автор

Cool tutorial! I just did one, and ran cross yours. Definitely yours is more advanced, and with less mistakes haha! Keep up the good stuff!

jasonriedel
Автор

Really enjoyed! Well explained, Thanks a lot :))

BlueskyandHappy
Автор

The environments, under the docker-compose file, are not being passed to the docker container. This is why we get the error: no valid credential sources for Terraform AWS Provider found, when running terraform plan or apply.

Mnsave
Автор

Thank you for such a great tutorial! I followed every step but I'm still getting the "Permission denied (publickey)." error when I'm trying to connect with ssh.

andrewshk
Автор

when trying to initialise, I am getting this error:
ERROR: In file './docker-compose.yml', service 'image' must be a mapping not a string.

NDGS
Автор

I aws vault wouldnt let me input the secret access key after inoputing the key ID. it asks for an input but doesnt let me add anything, only lets me leave it blank and press enter. any idea why this happens? thanks in advance

DaNuker
Автор

Awesome! Thanks for such a wonderful tutorial. Just a quick question, what’s the significance of using Docker compose to run tf commands. Can you please explain the use case for it?

nileshjoshi
Автор

Thanks for the vid. Does this still applies after the release of TF 1.x?

Mnsave
Автор

Hey really nice video! I have a question: My aws-vault does not work, it does find the "aws-vault" command! What do I do?

GS-vnpf
Автор

Thanks for this wonderful video. I have a question if there are named profiles in the AWS credentials which location the profile to be referenced I assume we need to refer in the docker-compose file but how?

JoeFrixon
Автор

When I execute "docker-compose run --rm tf plan"
Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: ExpiredToken: The security token included in the request is expired
status code: 403, request id: <the request id>

JackReacher
welcome to shbcf.ru