Skip to content

Commit

Permalink
Remove fallback to default profile
Browse files Browse the repository at this point in the history
  • Loading branch information
sndl committed Oct 2, 2019
1 parent d63d839 commit 2933295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/sndl/parnas/backend/impl/SSM.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class SSM(name: String, ssmClient: AWSSimpleSystemsManagement,
.withRegion(region ?: DefaultAwsRegionProviderChain().region)
.withCredentials(AWSCredentialsProviderChain(
EnvironmentVariableCredentialsProvider(),
profileName?.let { ProfileCredentialsProvider(it) } ?: ProfileCredentialsProvider()
profileName?.let { ProfileCredentialsProvider(it) }
))
.build(),
prefix = prefix,
Expand Down

0 comments on commit 2933295

Please sign in to comment.