-
Notifications
You must be signed in to change notification settings - Fork 8
Using AWS Credentials
Shinwoo Kim edited this page Apr 17, 2024
·
2 revisions
The container runs differently when deployed in the cloud - instead of passing the rails env file directly, it fetches one from s3://container-discovery S3 bucket.
Specifically, the container image is assigned the git commit value when the image was built and it fetches rails env file matching the value.
It is sometimes a good idea to run the container in this mode to fully emulate the production mode.
./run.sh -a PATH_TO_AWS_CREDENTIALS_FILE
Certain functionalty can only be tested with the AWS credentials.
One such example is the YAML Alerts - it fetches alert file from S3 bucket and to test this locally, you have to run it in this mode.