Create resource using terraform

Hi,

Can we used aws role ARN to create a resource in AWS instead of access key and secret key in provider

Highly recommended that you do that!

You get a session with MFA and then Terraform can do assume-role for you:

This tool can help you: https://github.com/basefarm/aws-session-tool