Skip to content

Commit

Permalink
improve aws function
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbuks committed Jun 10, 2024
1 parent c34de74 commit d1d8443
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/Makefile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,13 @@ function Run-Test {
}

function Write-AWSCredentials {
$awsCredentialsPath = "$env:USERPROFILE\.aws\credentials"
$awsDirectoryPath = "$env:USERPROFILE\.aws"
$awsCredentialsPath = "$awsDirectoryPath\credentials"

# Ensure the .aws directory exists
if (-not (Test-Path $awsDirectoryPath)) {
New-Item -ItemType Directory -Path $awsDirectoryPath -Force
}

$content = @"
[default]
Expand Down

0 comments on commit d1d8443

Please sign in to comment.