Skip to content

Commit

Permalink
remove serverless offline ssm, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sannidhishukla committed Dec 23, 2024
1 parent b579bfe commit e94ddc1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ Deployment is done locally to the AWS account `Innov-RES-Dev` and _not_ yet conn
2. Test code changes locally
3. Log into AWS console, and open "Command line and programmatic access" option under `Innov-RES-Dev` account
4. Follow instructions in modal to save AWS credentials to `~/.aws/credentials` file
5. Run `npx sls deploy --aws-profile {INSERT PROFILE NAME HERE}` to deploy this Serverless project to AWS
5. Log into Bitwarden and copy the value of the "Feedback API Serverless Access Key (feedback-api-access-key)" item in the "Resident Experience" collection
6. Run `export SERVERLESS_ACCESS_KEY={INSERT ACCESS KEY VALUE FROM BITWARDEN HERE}` in the terminal
7. Run `npx sls deploy --aws-profile {INSERT PROFILE NAME HERE} --` to deploy this Serverless project to AWS

## Test your service

Expand Down
10 changes: 0 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"prettier": "2.8.8",
"serverless": "4.4.3",
"serverless-offline": "14.4.0",
"serverless-offline-ssm": "6.2.0",
"ts-jest": "29.1.2",
"tsconfig-paths": "3.15.0",
"typescript": "4.9.5"
Expand Down
6 changes: 1 addition & 5 deletions serverless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import summary from '@functions/summary';
const serverlessConfiguration = {
service: 'feedback-api',
frameworkVersion: '4',
plugins: ['serverless-offline-ssm', 'serverless-offline'],
plugins: ['serverless-offline'],
provider: {
name: 'aws',
stage: 'dev',
Expand Down Expand Up @@ -57,10 +57,6 @@ const serverlessConfiguration = {
},
'serverless-offline': {
noPrependStageInUrl: true
},
'serverless-offline-ssm': {
// Values mocked by .env file
stages: ['dev']
}
}
};
Expand Down

0 comments on commit e94ddc1

Please sign in to comment.