aws-samples / aws-saas-factory-ref-solution-serverless-saas

MIT No Attribution
459 stars 153 forks source link

Update python, nodejs, and codebuild versions. Add AL2023 support #75

Open frank-aws opened 6 months ago

frank-aws commented 6 months ago

Issue #, if available:

Description of changes:

I can submit a PR for the associated workshop as well once changes are discussed and approved.

Manual e2e tests performed (based on workshop, lab 1 through 5):

  1. Add a Tenant (tenant1) through SaaS Admin.
  2. As Tenant Admin for tenant1, add product on SaaS Commerce Application. Add order for product.
  3. Add a Tenant (tenant2) through Landing page.
  4. As a Tenant Admin for tenant2, add product on SaaS Commerce Application. Add erder for product. Verify isolation from tenant1 in Application, and entries in the Product-pooled and Order-pooled DynamoDB tables.
  5. Add a Tenant (tenant3) through Landing page as Platinum tier.
  6. Verify the CodePipeline serverless-saas-pipeline workflow completes successfully, and a new environment for the platinum tenant is deployed through CloudFormation successfully (i.e. - stack-<tenantId>).
  7. As a Tenant Admin for tenant3, add Product on SaaS Commerce Application. Add order for product. Verify product and order items are added to their respective, isolated tenant3 DynamoDB tables.

I believe the client environment files are tracked in this repo intentionally. I did not remove and add them to .gitignore. On my local branch, I used git update-index to skip the respective clients/{Admin,Application,Landing}/environments/* files. I also skipped server/samconfig-boostrap.toml and clients/Admin/src/aws-exports.ts. This shouldn't have any effect on the remote branches, but JFYI and for posterity.
i.e. - git update-index --skip-worktree clients/Admin/src/environments/*

Thanks!

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.