Terraform | Episode 13 | Access or authenticating to AWS using environment variables on Linux.

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

Hello,

In this session, we will look at how we can give the access or authenticate to AWS using the environment variables. Here, we will be creating environment variables in the linux machine and Terraform will use that to authenticate to AWS to create the resources for us.

You can use the below commands to create the environment variables on linux machine.

export AWS_ACCESS_KEY_ID="access_key"
export AWS_SECRET_ACCESS_KEY="secret_key"
export AWS_REGION="region_name"

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

Hello sir, Thankyou for your grate video on Terraform
If I am added another IAM user Environment variables credentials (creating resource for another IAM user) at that time what Terraform will do ( if both Credentials ( old + new) are present ?

prasannakumar-tg
Автор

Is there any precedence for authentication pairs like if we gave one pair of credentials in the provider block and other pair of credentials in environment variables. Then what will terraform choose?

ambativaishnavi
Автор

giving dislike because of the annoying intro track, my ear got exploded

sainikhil
welcome to shbcf.ru