Open Ada-Nick opened 2 years ago
When running on ECS, does your container have one or both of the following environment variables?
If so, I think if we add a way for you to specify that Shiny Server should pass through those environment variables to the R process, that might do the trick. (See also https://github.com/rstudio/shiny-server/issues/409)
I'm having trouble accessing AWS IAM credentials from within my dockerised shiny-server environment. I'm deploying my shiny server container to ECS but am unable to access services such as s3 despite having the proper IAM permissions.
I can attach a volume to the docker container to manually move the credentials file over:
But this is not practical in production. I can access the IAM credentials when running the app without using shiny-server by running the docker file like this:
But then I can't run the app on the path I want and it isn't as stable.
How can I access the AWS credentials from within shiny-server?
shiny-server.sh
shiny-server.conf
Dockerfile