I'm using EKS to deploy a prefect server. I had a nodegroup and when I added one agent and it worked fine. I could start flows and the agent were getting them and executing. My flows are hosted on S3.
I decided to add the agents to a fargate profile so the k8s nodes are created on demand. I created a FargateProfile that "queries" the namespace 'agent' and when I deploy an agent EKS creates a fargate node for the agent.
The fargate agent is able to retrieve flows to be executed and create new fargate nodes with jobs to execute the flow.
My problem here is that this new fargate node is unable to connect to S3.
This is the log on the job: