How to Connect AWS with Terraform | Set Credentials & Configure

  Рет қаралды 21,361

Cloud Champ

Cloud Champ

Күн бұрын

How to connect aws with terraform? Create first resource on AWS using Terraform | How to set aws credentials in Terraform
In this Terraform tutorial you will learn how to securely connect your aws account with Terraform to create resource on AWS cloud. With Hands on example you will be able to understand how to securely set aws credentials in terraform code. To confirm we will create aws s3 bucket using Terraform.
AWS Documentation : aws.amazon.com/blogs/apn/terr...
Terraform Installation : developer.hashicorp.com/terra...
AWS CLI installation : docs.aws.amazon.com/cli/lates...
Connect with me on LinkedIn : / nasiullha-chaudhari
Connecting to AWS Credentials Using Provider Block and aws configure Command.
1. Provider Block in Code:
- Install AWS CLI and SDK.
- Create AWS Access Key and Secret Key.
- Configure AWS CLI using `aws configure`.
- Use the AWS SDK to create a "provider block" in your code, specifying the credentials and region.
2. AWS Configure Command:
- Install AWS CLI.
- Run `aws configure` and input Access Key, Secret Key, default region, and output format when prompted.
Timestamps
Intro 0:00
3 ways to access AWS account 0:11
Video starts here 01:15
Create IAM user for Terraform 04:05
Create keys to connect aws with Terraform 05:27
Adding credentials in aws providers 07:00
Add AWS Credentials in Command Line 10:25
Creating first AWS resource using terraform 11:44
How to create AWS account: • How To Create A Free A...
How to create AWS EC2 instance using Terraform: • How to create Amazon E...
Terraform Playlist: • Terraform Full Course:...
AWS IAM tutrial : • AWS IAM Hands-on Lab T...
Master Terraform in 60 mins : • Master Terraform in 60...
DevOps project from scratch : • DevOps Project from sc...
connect aws to terraform,connect aws terraform,aws setup terraform,setup aws terraform,aws terraform tutorial,terraform,aws,infrastructure as code,terraform aws,terrraform provider aws,aws terraform provider,terraform aws project,terraform aws example,terraform deploy aws,terraform aws real time project,terraform with aws,terraform for beginners,terraform bootcamp,kodekloud terraform,terraform fundamentals,aws configure,terraform access key and secret key
connect aws to terraform,connect aws terraform,aws setup terraform,setup aws terraform,aws terraform tutorial,terraform,aws,infrastructure as code,terraform aws,terrraform provider aws,aws terraform provider,terraform aws project,terraform aws example,terraform deploy aws,terraform aws real time project,terraform with aws,terraform for beginners,terraform bootcamp,kodekloud terraform,terraform fundamentals,aws configure,terraform access key and secret key
connect aws to terraform,connect aws terraform,aws setup terraform,setup aws terraform,aws terraform tutorial,terraform,aws,infrastructure as code,terraform aws,terrraform provider aws,aws terraform provider,terraform aws project,terraform aws example,terraform deploy aws,terraform aws real time project,terraform with aws,terraform for beginners,terraform bootcamp,kodekloud terraform,terraform fundamentals,aws configure,terraform access key and secret key
Terraform Variables and Outputs:

Пікірлер: 63
@kingalex1045
@kingalex1045 7 ай бұрын
No bluff, just straight to the point!
@supriyochatterjee4095
@supriyochatterjee4095 Жыл бұрын
Excellent information, kindly keep making more videos on AWS Terraform Architecture explaining everything
@cloudchamp
@cloudchamp Жыл бұрын
Sure I will Thanks for your support
@sairam-bl6bx
@sairam-bl6bx Жыл бұрын
Please continue terraform videos... It's more useful to all.. thank you for your support..
@cloudchamp
@cloudchamp Жыл бұрын
Sure 👍
@vikramkamble5330
@vikramkamble5330 Жыл бұрын
Simply great ❤
@cloudchamp
@cloudchamp Жыл бұрын
Thank you Vikram 😀
@shaktirajsinhzala4588
@shaktirajsinhzala4588 Жыл бұрын
Thank you for considering our request.
@cloudchamp
@cloudchamp Жыл бұрын
Any time!
@edenrelaxmusic6971
@edenrelaxmusic6971 Ай бұрын
Nice video, I have a question that recently came to me, can we configure the Maximum web server count for MWAA through Terraform for MWAA web server automatic scaling, thanks!
@ashwinichivate3905
@ashwinichivate3905 Жыл бұрын
Useful information. Plz make videos on complete terraform zero to advanced level from company requirement point of View. Thanks.
@cloudchamp
@cloudchamp Жыл бұрын
Sure I will
@codingon2323
@codingon2323 Жыл бұрын
Superb....nice work.❤
@cloudchamp
@cloudchamp Жыл бұрын
Thanks a lot 😊
@intelcoreA
@intelcoreA Жыл бұрын
Good Work. Please make video for API Gateway + Lambda + DynamoDB (Query) end to end with terraform
@faizullahpathan2396
@faizullahpathan2396 Жыл бұрын
Excellent 👍💯
@cloudchamp
@cloudchamp Жыл бұрын
Thank you! Cheers!
@manochan44
@manochan44 Жыл бұрын
Thank you sir❤
@cloudchamp
@cloudchamp Жыл бұрын
You are welcome brother
@marianodangelo8220
@marianodangelo8220 3 ай бұрын
Awesome videos
@cloudchamp
@cloudchamp 3 ай бұрын
Glad you like them!
@preetam777
@preetam777 3 ай бұрын
Hi CLoud Champ, How do we enable TF_LOG=TRACE for terrafom logging via powershell or VS code terminal in Windows?
@GugaMoto
@GugaMoto Жыл бұрын
Awesome!
@cloudchamp
@cloudchamp Жыл бұрын
Thank you! Cheers!
@bhaveshshah512
@bhaveshshah512 11 ай бұрын
Very Nice One
@cloudchamp
@cloudchamp 11 ай бұрын
Thank you 😊
@blazedquote5829
@blazedquote5829 10 ай бұрын
Very helpful
@cloudchamp
@cloudchamp 10 ай бұрын
Glad to hear that
@shekharchaugule7700
@shekharchaugule7700 11 ай бұрын
Awesome yaar ❤
@cloudchamp
@cloudchamp 11 ай бұрын
Thank you 😊
@kavinduedirisinghe6999
@kavinduedirisinghe6999 Ай бұрын
Exellent video
@cloudchamp
@cloudchamp Ай бұрын
Thanks
@mdasifnasim2359
@mdasifnasim2359 Жыл бұрын
Hi buddy, it would be great to use IAM ROLE instead of access key and secret key, so could you please make a video on that and use the role in the provider block to deploy any services in aws cloud.?
@syafeuq
@syafeuq Жыл бұрын
Yes agree
@reneshmlal2809
@reneshmlal2809 6 ай бұрын
@lbraga565
@lbraga565 4 ай бұрын
Good video, Do you have any similar videos for Terraform using Azure?
@vikramkamble5330
@vikramkamble5330 Жыл бұрын
Bro... waiting for next video
@cloudchamp
@cloudchamp Жыл бұрын
Coming soon bro
@konarkwalia2340
@konarkwalia2340 6 ай бұрын
Hi, your videos are good if someone is already familiar with terra and just want a revision of imp concepts…however for a person trying to learn terra from scratch…tons of things are missing..like modules, workspaces, life cycle rules, data resources,remote state locking, provisioners etc..thanks
@cloudchamp
@cloudchamp 6 ай бұрын
Noted
@Djsanddy
@Djsanddy Ай бұрын
Hey Champ, if an organization is using SSO and wants to use TF. how can we configure TF in that case as no user access key and Secret keys are available? Thanks a lot for amazing content BTW.
@cloudchamp
@cloudchamp Ай бұрын
aws configure sso
@mausamacharya2558
@mausamacharya2558 7 ай бұрын
Hi getting this error while using terraform init "Error: Failed to query available provider packages"
@mmbaig286
@mmbaig286 2 ай бұрын
my vscode and terminal are connecting to my aws cam user account but the bucket is not being added from my code someone please help
@Evilemmalass
@Evilemmalass 8 ай бұрын
Hi cloud charm, you explanations and teachers are excellent, but you are way too fast. Especially on how to upload the profile.png , how you did it. It could have been good if you try to outline some steps how you go about it. I understand your experience makes you to explain like a pro but remember there are non IT students who are also freshers. Thank you so much for your effort, you are doing a great work. Thank you
@shribalajikarthikm4360
@shribalajikarthikm4360 6 ай бұрын
Hi bro if I give terraform plan it says 0 changes appeared may I know why
@cloudchamp
@cloudchamp 6 ай бұрын
Make sure to save your configuration with Ctrl+s
@peerzadeshadab216
@peerzadeshadab216 Жыл бұрын
Bro please make a video on how to do freelancing as AWS solution architect
@gouravkerni7153
@gouravkerni7153 Жыл бұрын
Thnkss sir but can u please make full playlist of devopps engineeer
@cloudchamp
@cloudchamp Жыл бұрын
Sure Gourav 🤝
@S-hc5ze
@S-hc5ze 5 ай бұрын
any other way like token, instead of keys ?
@cloudchamp
@cloudchamp 5 ай бұрын
Yes you can use token when using sso login
@Harshavardhan15970
@Harshavardhan15970 Жыл бұрын
How to find fresher jobs in devops, i didn't get calls dude
@shridhardesaii
@shridhardesaii Ай бұрын
after terraform plan command shows no changes.... 0 added 0 changes 0 destroyed
@cloudchamp
@cloudchamp Ай бұрын
Make sure to save the code or enable autosave
@peddibharath7568
@peddibharath7568 10 ай бұрын
Bro do terraforms with azure bro there is no one doing with azure and azure devops also .
@shubham_M7777
@shubham_M7777 Жыл бұрын
cloud computing Vs Linux system administratior Vs devops which is better career to choose to work in "faang" and why? Please make video on it 🙏
@rushikeshkulmethe2429
@rushikeshkulmethe2429 Жыл бұрын
Aap job kr rhe ho kya?
@bijun784
@bijun784 53 минут бұрын
Excellent but Rajdhani express
@cloudchamp
@cloudchamp 37 минут бұрын
Rapgod
@mohdiqbaltazeemtark8616
@mohdiqbaltazeemtark8616 2 ай бұрын
Bro. Why r u in so so hurry ?????
@ishanakhtar8412
@ishanakhtar8412 10 ай бұрын
Dude its too fast. I have to pause video several times
@cloudchamp
@cloudchamp 10 ай бұрын
Sorry about that, please reduce it to .5 or .25
@techie_mk
@techie_mk Жыл бұрын
@cloudchamp
@cloudchamp Жыл бұрын
🤝
Simple DevOps Project to Practice Terraform with AWS
25:42
Cloud Champ
Рет қаралды 48 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 12 МЛН
Cat Corn?! 🙀 #cat #cute #catlover
00:54
Stocat
Рет қаралды 16 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 5 МЛН
How to configure AWS CLI keys
8:21
Hitesh Choudhary
Рет қаралды 4,7 М.
Terraform AWS Secrets handling
11:01
Rahul Wagh
Рет қаралды 16 М.
How I would Learn DevOps from scratch (if I could start over)
15:15
How to Manage Secrets in Terraform?
15:54
Anton Putra
Рет қаралды 24 М.
Going Multi-Account With Terraform on AWS
25:58
HashiCorp
Рет қаралды 32 М.
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Travis Media
Рет қаралды 105 М.
How To Securely Store Your AWS Credentials in Terraform
19:44
Emmanuel Jijong
Рет қаралды 3,5 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 12 МЛН