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
gefragt vor 6 Monaten220 Aufrufe
1 Antwort
0
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 6 Monaten
profile picture
EXPERTE
überprüft vor 6 Monaten
profile pictureAWS
EXPERTE
überprüft vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen