Skip to content

Commit

Permalink
feat: use aws sso login instead of deprecated sso creds
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipPyrek committed Jan 7, 2025
1 parent 6500777 commit 39031fb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 366 deletions.
16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"pnpm": ">=9.6 <10"
},
"scripts": {
"env": "env-cmd -f ./.env bash -c \"ssocreds -p \\$AWS_PROFILE\" && env-cmd -f ./.env",
"env:vscode": "pnpm run env echo 1",
"env": "env-cmd -f ./.env bash -c \"aws sts get-caller-identity --profile \\$AWS_PROFILE --no-cli-pager >/dev/null 2>&1 || aws sso login --profile \\$AWS_PROFILE\" && env-cmd -f ./.env",
"prepare": "husky install",
"lint": "eslint 'services' 'packages' 'constructs' --ext .ts,.tsx,.js,.jsx,.cjs,.mjs && prettier -c \"**/*.{json,html}\"",
"lint:fix": "eslint 'services' 'packages' 'constructs' --ext .ts,.tsx,.js,.jsx,.cjs,.mjs --fix && prettier --write \"**/*.{json,html}\"",
Expand All @@ -36,7 +35,6 @@
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.5.0",
"aws-cdk-lib": "2.124.0",
"aws-sso-creds-helper": "^1.12.0",
"constructs": "10.3.0",
"env-cmd": "^10.1.0",
"eslint": "^8.57.0",
Expand Down
Loading

0 comments on commit 39031fb

Please sign in to comment.