Ivan Trajkovic
04/25/2023, 7:20 PMIvan Trajkovic
04/25/2023, 7:35 PMDAGSTER_INJECT_ENV_VARS_FROM_INSTANCE=1
ENV var defined, which Im assuming configs the code server to inject ENV vars from the host into the continer.
so for starters I could resolve the AWS auth creds from the EC2 instance metadata service into explicint ENV vars on the instance.
The issue there is that those creds would expire after a period of time, since they're tied to a IAM role.
Ideally there is some recommended approach where the code location container could resolve those creds with the instance metadata service.Ivan Trajkovic
04/27/2023, 10:07 PM