Getting Error while creating resource through terraform

0

Plan: 1 to add, 0 to change, 0 to destroy.

Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve.

Enter a value: yes

aws_instance.myec2: Creating... ╷ │ Error: creating EC2 Instance: Blocked: This account is currently blocked and not recognized as a valid account. Please contact https://support.console.aws.amazon.com/support/home?region=us-east-1#/case/create?issueType=customer-service&serviceCode=account-management&categoryCode=account-verification if you have questions. │ status code: 400, request id: 5b125605-f4b2-4f16-9cb2-d739c1a1746f │ │ with aws_instance.myec2, │ on first-ec2-instance.tf line 7, in resource "aws_instance" "myec2": │ 7: resource "aws_instance" "myec2" { │ ╵

C:\Terraform>

Parag
질문됨 6달 전220회 조회
1개 답변
0
수락된 답변

Hello.

Judging from the content of the error, it appears that the AWS account is locked.
Is it possible to create other resources?
In the case of a new AWS account, such errors may occur due to low quota values ​​such as available regions and vCPUs.
I think it would be a good idea to open a case with AWS Support under "Account and billing" and inquire to avoid any errors.
https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

profile picture
전문가
답변함 6달 전
profile picture
전문가
검토됨 6달 전
profile pictureAWS
전문가
검토됨 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠