How do I establish connectivity between terraform and my AWS account? Do I need to install AWS CLI first?
How do I establish connectivity between terraform and my AWS account? Do I need to install AWS CLI first?
You just have to use the secret key and access key and paste it in the provider block in .tf file. You can refer this tutorial https://youtu.be/ODiSoZFxVRk
Yes first you install the awscli then you install the terraform binary. Then write some terraform code and it will use the credentials stored in your AWS credentials when you installed the awscli.