MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / isUsingAwsRole

Function isUsingAwsRole

apps/web/services/aws/credentials.ts:1–4  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function isUsingAwsRole() {
2 // fargate has roles already, no need to set up
3 return (process.env.LONG_RUNNING as string) === 'true';
4}
5
6export const awsCredentials = isUsingAwsRole()
7 ? {}

Callers 1

credentials.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected