Kasper Djernæs
04/25/2023, 2:40 PMCloning into 'data_infrastructure'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
14:29:52.302 | ERROR | Flow run 'therapeutic-mackerel' - Flow could not be retrieved from deployment.
Traceback (most recent call last):
It would be great if you could add more examples on how templating with blocks work and especially with access tokens.Kasper Djernæs
04/25/2023, 2:46 PMalex
04/25/2023, 2:55 PM<https://bitbucket.org/my_company/data_infrastructure.git>
. I think you’ll also need to make sure your access token is in the format x-token-auth:{your_token}
Kasper Djernæs
04/25/2023, 4:10 PMValueError: Invalid template: 'x-token-auth:{{ prefect.blocks.secret.annotaion-pipeline-credentials }}'.
How should I read the token from my blocks?
I also tried to configure it with a bitbucket secret's block but couldn't figure out how to reference it in the config.alex
04/25/2023, 4:20 PMaccess_token: "{{ prefect.blocks.secret.annotaion-pipeline-credentials }}"
Block values aren’t currently able to be interpolated into a string, so the value stored in the block should be x-token-auth:{your_token}
djernaes
04/25/2023, 5:31 PM