错误:配置Terraform AWS Provider的错误:
1. 验证供应商资格的错误:错误词指: GetCallerIdentity:Operation mis STS: GetCallerIdentity, https response差 StatusCode: 403, RequestID: 95e52463-8cd7-038-b924-3a5d4ad6ef03, api mis InvalidClient Token Id: The security token included in the request is disabilities. with Provide[“registry.terraform.io/hashicorp/aws”], on Provide.tf line 1, in Provide "aws”1: Provide“aws”{
I have only two files.
- instance.tf
resource "aws_instance" "web" {
ami = "ami-068257025f72f470d"
instance_type = "t2.micro"
tags = {
Name = "instance_using_terraform"
}
}
- provider.tf
provider "aws" {
region = "ap-east-1"
access_key = "xxxx"
secret_key = "xxxx/xxx+xxx"
}