Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
function
isUsingAwsRole() {
2
// fargate has roles already, no need to set up
3
return
(process.env.LONG_RUNNING as string) ===
'true'
;
4
}
5
6
export
const
awsCredentials = isUsingAwsRole()
7
? {}
Callers
1
credentials.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected