How to Connect AWS with Terraform | Set Credentials & Configure

Опубликовано: 23 Июль 2023
на канале: Cloud Champ
25,450
467

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 : https://aws.amazon.com/blogs/apn/terr...
Terraform Installation : https://developer.hashicorp.com/terra...
AWS CLI installation : https://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 AWS Account In 5...  
How to create AWS EC2 instance using Terraform:    • How to create Amazon EC2 instance usi...  
Terraform Playlist:    • Terraform Full Course: Basics to Advanc  
AWS IAM tutrial :    • AWS IAM Hands-on Lab Tutorial | Learn...  
Master Terraform in 60 mins :    • Master Terraform in 60 minutes | Terr...  
DevOps project from scratch :   • DevOps Project from scratch- Deploy C...  

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: