jambonz / jambonz-infrastructure

packer and cloudformation templates for creating EC2-based jambonz deployments
23 stars 29 forks source link

AWS Terraform Apply issue: Error: error configuring Terraform AWS Provider #5

Open ajamous opened 3 years ago

ajamous commented 3 years ago

I have followed the Video to deploy the cluster on AWS. After updating variables.tf with GCP and AWS credentials.

My terraform version:

> terraform --version
Terraform v0.13.5
+ provider registry.terraform.io/hashicorp/aws v3.14.1
 terraform apply

Following Error Appears:

Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.

Please see https://registry.terraform.io/providers/hashicorp/aws
for more information about providing credentials.

Error: NoCredentialProviders: no valid providers in chain. Deprecated.
    For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Am I missing something ?

Thanks!

davehorton commented 3 years ago

it looks like you did not have aws credentials installed on your laptop. Try installing the aws cli and try again.