I was trying to create trigger for my cloud build and set my cloudbuild.yaml but keeps this error L:Failed to trigger build: generic::invalid_argument: if ‘build.service_account’ is specified, the build must either (a) specify ‘build.logs_bucket’, (b) use the REGIONAL_USER_OWNED_BUCKET build.options.default_logs_bucket_behavior option, or (c) use either CLOUD_LOGGING_ONLY / NONE logging options
I hit the same error. The quickest way to work around this is to add the CLOUD_LOGGING_ONLY option to your cloudbuild.yaml file. When you do that, the YAML file looks like this:
I noticed in the course that no account was selected during the creation of trigger. This is no longer an option. You will need to select at least the service account for your project which will likely be the default choice.