My service account has the following roles:
- App Engine Admin
- App Engine Creator
- Cloud Datastore Owner
- Editor
- Owner
I am trying to create the database through Terraform with the following configuration:
resource "google_app_engine_application" "app" {
project = var.project_id #"my-project-id-xxxxx"
location_id = var.region # "us-central1"
database_type = "CLOUD_FIRESTORE"
}
Unfortunately it throws an error:
│ Error: Error creating App Engine application: googleapi: Error 403: The caller does not have permission, forbidden
│
│ with google_app_engine_application.app,
│ on main.tf line 28, in resource "google_app_engine_application" "app":
│ 28: resource "google_app_engine_application" "app" {
I am using my personal GCP account, it's not managed by any organization. I have no problem with other resources in Terraform (like cloud functions, gateway api and etc) What have I missed?