I am writing to request assistance with an issue regarding AWS credentials when using Terraform.I am a Pro Plan subscriber.
I successfully retrieved the provided AWS Access Key ID and Secret Access Key for the designated user .
I configured the AWS CLI on Windows using the provided credentials and "us-east-1"region via aws configure.
I created my Terraform configuration file (.tf) for an EC2 resource, included the aws provider block specifying region = "us-east-1", and attempted to run the standard workflow.
-
-
terraform init(Completed successfully, provider downloaded).
-
terraform plan
When running terraform plan I receive an error indicating a credential issue
Could you please confirm the recommended and successful method for providing credentials to the Terraform AWS Provider in the Playground environment?
Any guidance or a working example configuration for creating a simple resource (like an S3 bucket or t2.micro EC2 instance) within the AWS Playground using Terraform would be highly appreciated.