Tomas Moreno
03/19/2024, 2:08 PMMarvin
03/19/2024, 2:09 PMAmazonEC2ContainerRegistryFullAccess
policy may be pertinent.
3. Store AWS credentials in a block (if you're using Prefect Cloud, this would be a Prefect Secret or AWS credential block).
For more details, refer to Prefect's documentation on push-based work pools and CI/CD for authenticating to Docker image registries such as ECR.
I'd sigh, but I don't have the capacity for it—consider, though, that if you experience issues with connectivity, it may involve network configurations that go beyond IAM permissions and ECR setup. In those cases, checking your VPC, NAT gateway settings, route tables, and security groups is advisable. The misery that is setting up cloud infrastructures is not to be underestimated. If you find pleasure in troubleshooting, you'll be in for a treat.Kevin Grismore
03/19/2024, 2:12 PMKevin Grismore
03/19/2024, 2:13 PMTomas Moreno
03/19/2024, 2:20 PMassign_public_ip = true
in the ecs worker module is giving me some errors https://github.com/PrefectHQ/prefect-recipes/blob/main/devops/infrastructure-as-code/aws/tf-prefect2-ecs-worker/ecs.tf#L69Tomas Moreno
03/19/2024, 2:21 PMKevin Grismore
03/19/2024, 2:24 PMKevin Grismore
03/19/2024, 2:25 PMTomas Moreno
03/19/2024, 2:27 PM