The newly released 15.0.1 added the create_ignore_already_exists bug fix, but it is throwing the error: Error: googleapi: Error 400: Invalid field mask for ServiceAccount. Field mask paths cannot be empty., badRequest
Expected behavior
This to ignore already created service accounts
Observed behavior
when running terraform again, I received this error:
Error: googleapi: Error 400: Invalid field mask for ServiceAccount. Field mask paths cannot be empty., badRequest
with module.project_factory.module.project-factory.google_service_account.default_service_account[0]
on .terraform/modules/compute-projects.project_factory/modules/core_project_factory/main.tf line 145, in resource "google_service_account" "default_service_account":
To provide more info, this was occurring using provider version 5.22.0 and was fixed in provider version 5.26.0. After updating the provider, the issue went away. Maybe add an advisory to the release?
TL;DR
The newly released 15.0.1 added the create_ignore_already_exists bug fix, but it is throwing the error: Error: googleapi: Error 400: Invalid field mask for ServiceAccount. Field mask paths cannot be empty., badRequest
Expected behavior
This to ignore already created service accounts
Observed behavior
when running terraform again, I received this error:
Error: googleapi: Error 400: Invalid field mask for ServiceAccount. Field mask paths cannot be empty., badRequest with module.project_factory.module.project-factory.google_service_account.default_service_account[0] on .terraform/modules/compute-projects.project_factory/modules/core_project_factory/main.tf line 145, in resource "google_service_account" "default_service_account":
resource "google_service_account" "default_service_account" {
Terraform Configuration
Terraform Version
Additional information
No response