When running the boostrap layer as a non-Enterprise organization, the following error occurs:
Plan: 28 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
module.github_gcloud_oidc.google_folder.folder[0]: Creating...
╷
│ Error: Error creating folder 'fldr-github-foundations' in 'organizations/942835104931': googleapi: Error 403: Permission 'resourcemanager.folders.create' denied on resource '//cloudresourcemanager.googleapis.com/organizations/942835104931' (or it may not exist).
│ Details:
│ [
│ {
│ "@type": "type.googleapis.com/google.rpc.ErrorInfo",
│ "domain": "cloudresourcemanager.googleapis.com",
│ "metadata": {
│ "permission": "resourcemanager.folders.create",
│ "resource": "organizations/942835104931"
│ },
│ "reason": "IAM_PERMISSION_DENIED"
│ }
│ ]
│ , forbidden
│
│ with module.github_gcloud_oidc.google_folder.folder[0],
│ on .terraform/modules/github_gcloud_oidc/modules/github-gcloud-oidc/folder.tf line 14, in resource "google_folder" "folder":
│ 14: resource "google_folder" "folder" {
ISSUE
When running the
boostrap
layer as a non-Enterprise organization, the following error occurs: