D:\\workspace\\learn-terraform-provision-eks-cluster>terraform apply
Running apply in Terraform Cloud. Output will stream here. Pressing Ctrl-C
will cancel the remote apply if it's still pending. If the apply started it
will stop streaming the logs, but will not stop the apply running remotely.
Preparing the remote apply...
To view this run in a browser, visit:
<https://app.terraform.io/app/learn-terraform-hyenee/learn-terraform-eks/runs/run-Kar9QLwjh1C5KNwK>
Waiting for the plan to start...
Terraform v1.3.9
on linux_amd64
Initializing plugins and modules...
╷
│ 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: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request send failed, Get "<http://169.254.169.254/latest/meta-data/iam/security-credentials/>": dial tcp 169.254.169.254:80: i/o timeout
│
│
│ with provider["registry.terraform.io/hashicorp/aws"],
│ on main.tf line 1, in provider "aws":
│ 1: provider "aws" {
│
╵
Operation failed: failed running terraform plan (exit 1)
$ export AWS_ACCESS_KEY_ID="<AWS_ACCESS_KEY_ID>" # access_key $ export AWS_SECRET_ACCESS_KEY="<AWS_SECRET_ACCESS_KEY>" # secret_key $ export AWS_DEFAULT_REGION="ap-northeast-2" # region