Daniel Burkhardt
02/28/2022, 9:22 PMAnna Geller
02/28/2022, 9:58 PMprefect agent local start --key YOURKEY --label YOURLABEL
or did I misunderstand something? can you explain what do you try to do? if you try to authenticate with your RDS DB from a Postgres task, you can provide user and password, so I guess this would be Postgres Native Authentication (rather than IAM-based)Amanda Wee
02/28/2022, 9:59 PMpostgresql://<username>:<password>@<cluster>.<http://rds.amazonaws.com:5432/prefect_server|rds.amazonaws.com:5432/prefect_server>
in the parameter store, then provided it for the task definitions for my hasura and graphql containers of prefect server. But note that I did it this way because my company required me to use ECS tasks rather than EC2 instances directly (and at the time prefect cloud was too expensive, according to my then-team lead's determination).
The prefect agent itself (also running as an ECS task) didn't need to connect to the database since it connected to prefect server instead.