<#4628 [BUG] Flytectl create execution doesn't res...
# flyte-github
c
#4628 [BUG] Flytectl create execution doesn't respect targetProject or targetDomain Issue created by katrogan ### Describe the bug When I specify a distinct targetProject and targetDomain in the execFile passed to
flytectl create execution
e.g.
Copy code
targetDomain: "production"
targetProject: "flytetester"
workflow: basics.hello_world.my_wf
but reference a workflow registered in flytesnacks-development like so:
Copy code
$ flytectl create execution --execFile execution_spec.yaml -p flytesnacks -d development --version TRRaOBOdkLw5HhMeM5Y2RQ==
execution identifier project:"flytesnacks" domain:"development" name:"fa5aec886c8f2495da11"
the launched execution ends up in flytesnacks-development rather than flytetester-production ### Expected behavior Launching an execution in a different project and/or domain should be possible via flytectl ### Additional context to reproduce See description ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte