Esta dando esse erro mesmo depois ter apply na primeiras aulas.
" cristhianocunha@pop-os:~/Iac$ terraform apply ╷ │ 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 │ caused by: EnvAccessKeyNotFound: failed to find credentials in the environment. │ SharedCredsLoad: failed to load profile, estudo. │ EC2RoleRequestError: no EC2 instance role found │ caused by: RequestError: send request failed │ caused by: Get "http://169.254.169.254/latest/meta-data/iam/security-credentials/": dial tcp 169.254.169.254:80: connect: no route to host │ │ │ with provider["registry.terraform.io/hashicorp/aws"], │ on main.tf line 12, in provider "aws": │ 12: provider "aws" {
"