terraform plan Refreshing Terraform state in-memory prior to plan... The refreshed state will be used to calculate this plan, but will not be persisted to local or remote state storage. Error refreshing state: 1 error(s) occurred: * provider.aws: No valid credential sources found for AWS Provider. Please see https://terraform.io/docs/providers/aws/index.html for more information on providing credentials for the AWS Provider This error mean it could not find the AWS API Access keys, they're set in variables or using aws configure. This can also appear if you have the access keys set using aws configure, but you have multiple profiles. Set the profile you need using $ export AWS_PROFILE=acbcompany