Is adding IAM roles to Sensors in K8s supported wi...
# ask-community
a
Is adding IAM roles to Sensors in K8s supported with annotations? I have a deployment of Dagster running on K8s and the sensor needs to assume a role in order to 'sense' AWS services going down. I do this currently by adding annotations to the op/job but Sensors don't support tags, hence can't assume the role it needs to use boto3 with the right permissions. What do you suggest? Any workarounds?
Is anyone able to help?
d
Hi Alastair - sensors run on your user code deployment, they don't run in a separate pod like runs. As long as your user code deployment has those annotations, I'd expect this to work
a
Hero! Thanks for explaining! thankyou
🙏 1