millions-plastic-44322
09/05/2025, 12:12 PMmillions-plastic-44322
09/05/2025, 1:41 PM{
"json": {
"exec_id": "aqjx7k4klv8kgwd9mcbx",
"ns": "jiri-test-development",
"res_ver": "459661272",
"routine": "worker-32",
"wf": "jiri-test:development:aws_batch_example.my_wf"
},
"level": "error",
"msg": "Error when trying to reconcile workflow. Error [failed at Node[n0]. RuntimeExecutionError: failed during plugin execution, caused by: failed to execute handle for plugin [aws_array]: AccessDeniedException: User: arn:aws:sts::999548594534:assumed-role/flyte-dev-backend-role/1757078478030632749 is not authorized to perform: batch:RegisterJobDefinition on resource: arn:aws:batch:us-east-2:999548594534:job-definition/flytekit\n\tstatus code: 403, request id: 4190a36d-4da6-47a4-be0e-4721d52ecb9a]. Error Type[*errors.NodeErrorWithCause]",
"ts": "2025-09-05T13:23:27Z"
}
while I have the job queues configured for us-east-1, this complains about us-east-2
Docs says this about plugin config and region: https://www.union.ai/docs/v1/flyte/deployment/flyte-plugins/batch/#update-flytepropellers-configuration
It's shows
plugins:
aws:
batch:
# Must match that set in flyteAdmin's configMap flyteadmin.roleNameKey
roleAnnotationKey: <http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>
# Must match the desired region to launch these tasks.
region: us-east-2
In the snippet.
However I have put this under "enabled_plugins"
configmap:
enabled_plugins:
aws:
batch:
roleAnnotationKey: "{{ .Values.userSettings.backendIAMRole }}"
region: us-east-1
Because there was no "plugins:" section. Is this a problem? That it should be under "configmap.plugins"? It's kind of confusingfreezing-airport-6809
freezing-airport-6809
freezing-airport-6809
millions-plastic-44322
09/08/2025, 7:14 AMfreezing-airport-6809
freezing-airport-6809
millions-plastic-44322
09/08/2025, 2:13 PMflyte-dev-backend-role/1757078478030632749 is not authorized to perform: batch:RegisterJobDefinition on resource: arn:aws:batch:us-east-2
So it seems almost correct, it just needs to realize correct region: I have tried to set up us-east-1 through the configuration snippet I shared above. Is there something missing?millions-plastic-44322
09/08/2025, 2:13 PMfreezing-airport-6809
millions-plastic-44322
09/08/2025, 6:49 PMfreezing-airport-6809
freezing-airport-6809
millions-plastic-44322
09/10/2025, 7:06 AMenabled_plugins:
# -- Tasks specific configuration [structure](<https://pkg.go.dev/github.com/flyteorg/flytepropeller/pkg/controller/nodes/task/config#GetConfig>)
plugins:
aws:
batch:
roleAnnotationKey: "{{ .Values.userSettings.backendIAMRole }}"
region: "{{ .Values.userSettings.accountRegion }}"
"plugins" section into the "enabled_plugins" and now the region is set up correctly.
This was quite unclear from documentation