Terraform | Episode 83 | Setting dynamic credentials for AWS and Terraform Cloud | Terraform Cloud

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

Hello,

In this session, we will look at the setup for the authentication between AWS and Terraform Cloud. Terraform recommends using dynamic credentials instead of static credentials. For this, we will be using OpenID Connect Provider to setup the identity provider, then we will create a IAM role in AWS with the necessary permissions and in the Terraform Cloud we will define the following variables : TFC_AWS_PROVIDER_AUTH and TFC_AWS_RUN_ROLE_ARN.

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

I'm getting "Error: No valid credential sources found" with the description of: Error: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request canceled, context deadline exceeded. Do you know what it can be?

igorzimmer
Автор

can i created this identity privider with terraform?

juliangonzalez-gy