Johan sh
08/24/2023, 9:48 AMFlow run could not be submitted to infrastructure: <HttpError 400 when requesting <https://europe-west1-run.googleapis.com/apis/run.googleapis.com/v1/namespaces/xxxxxxxx/jobs?alt=json> returned "metadata.annotations[<http://run.googleapis.com/vpc-access-connector|run.googleapis.com/vpc-access-connector>]: Annotation '<http://run.googleapis.com/vpc-access-connector|run.googleapis.com/vpc-access-connector>' is not supported on resources of kind 'Service'. Supported kinds are: Revision, Execution". Details: "[{'@type': '<http://type.googleapis.com/google.rpc.BadRequest|type.googleapis.com/google.rpc.BadRequest>', 'fieldViolations': [{'field': 'metadata.annotations[<http://run.googleapis.com/vpc-access-connector]|run.googleapis.com/vpc-access-connector]>', 'description': "Annotation '<http://run.googleapis.com/vpc-access-connector|run.googleapis.com/vpc-access-connector>' is not supported on resources of kind 'Service'. Supported kinds are: Revision, Execution"}]}]">
Will Raphaelson
08/24/2023, 3:02 PMJake Kaplan
08/24/2023, 3:16 PMjob_body
value should look something like:
{
"kind": "Job",
"spec":
{
"template":
{
"metadata":
{
"annotations":
{
"<http://run.googleapis.com/vpc-access-connector|run.googleapis.com/vpc-access-connector>": "{{ vpc_connector_name }}"
}
},
"spec":
{
...
}
}
},
"metadata":
{
"name": "{{ name }}",
"annotations":
{
"<http://run.googleapis.com/launch-stage|run.googleapis.com/launch-stage>": "BETA"
}
},
"apiVersion": "<http://run.googleapis.com/v1|run.googleapis.com/v1>"
}
Jake Kaplan
08/24/2023, 3:17 PMJohn Lemmon
09/04/2023, 4:13 PM