-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] ShellTask ctx.secrets accessors not working with AWS Secrets #5314
Comments
Thank you for opening your first issue here! 🛠 |
The issue you're encountering with the To address this, you might consider simplifying the secret access or ensuring that the secret keys and groups are correctly formatted and supported by the Would you like more detailed guidance on how to adjust your script or further investigate this issue? Sources:
This is an AI-generated response and your feedback is appreciated! Please leave a 👍 if this is helpful and 👎 if it is not. Mention @RunLLM to ask follow-up questions. See runllm.com for more! |
@garretcook It might relate to this issue. It will allow you to specify the env var name in the shell script for your secret. #3053 |
I feel like that would fix my issue. Am I correct in understanding #3053 has NOT been implemented at this time? |
Hey Team,
I'm attempting to use the convenient ctx.secrets replacement feature described here:
flyteorg/flytekit#832
However, when using AWS Secrets, the task will not run in the local or remote mode. I would normally set it up like this:
Attempting to execute this returns:
@samhita-alla recommended I open a issue from Slack: https://flyte-org.slack.com/archives/CP2HDHKE1/p1714370085210499?thread_ts=1714162847.725119&cid=CP2HDHKE1
I can use the normal task syntax perfectly, even in the same file/workflow:
The text was updated successfully, but these errors were encountered: