How to Connect AWS with Terraform | Set Credentials & Configure

preview_player
Показать описание
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.

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

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:
Комментарии
Автор

No bluff, just straight to the point!

kingalex
Автор

Excellent information, kindly keep making more videos on AWS Terraform Architecture explaining everything

supriyochatterjee
Автор

Please continue terraform videos... It's more useful to all.. thank you for your support..

sairam-blbx
Автор

Thank you for considering our request.

shaktirajsinhzala
Автор

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!

edenrelaxmusic
Автор

Useful information. Plz make videos on complete terraform zero to advanced level from company requirement point of View. Thanks.

ashwinichivate
Автор

Good Work. Please make video for API Gateway + Lambda + DynamoDB (Query) end to end with terraform

intelcoreA
Автор

Hi CLoud Champ, How do we enable TF_LOG=TRACE for terrafom logging via powershell or VS code terminal in Windows?

preetam
Автор

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.?

mdasifnasim
Автор

Good video, Do you have any similar videos for Terraform using Azure?

lbraga
Автор

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

konarkwalia
Автор

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.

Djsanddy
Автор

Hi getting this error while using terraform init "Error: Failed to query available provider packages"

mausamacharya
Автор

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

mmbaig
Автор

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

Evilemmalass
Автор

Hi bro if I give terraform plan it says 0 changes appeared may I know why

shribalajikarthikm
Автор

Bro please make a video on how to do freelancing as AWS solution architect

peerzadeshadab
Автор

Thnkss sir but can u please make full playlist of devopps engineeer

gouravkerni
Автор

any other way like token, instead of keys ?

S-hcze
Автор

How to find fresher jobs in devops, i didn't get calls dude

Harshavardhan
join shbcf.ru