Error creating VPC

Error: Error creating VPC: UnauthorizedOperation: You are not authorized to perform this operation.
status code: 403, request id: 48a49856-1b3f-4004-afc7-98c397c9be87

on provider.tf line 8, in resource “aws_vpc” “main”:
8: resource “aws_vpc” “main” {

Does your IAM role/user has enough permissions for this action?
Terraform is just calling the AWS API on your behalf with the credentials you provided