umccr / orca-ui

MIT License
0 stars 0 forks source link

Refactor IaC Build Pipeine #29

Open williamputraintan opened 2 months ago

williamputraintan commented 2 months ago

The current setup

In each account

  1. Lambda that contains the react raw asset push these assets to codebuild via S3
  2. Codebuild build react for production with required env-var (based on SSM Parameter)
  3. Pushes this prod-asset to S3

The desired refactor:

  1. From the build account codepipeline add a react build stage where the env-var is imported from the stage account via AWS RAM
  2. Push these react prod assets directly to the stage s3 account.
raylrui commented 3 weeks ago

Current UI pipeline as below

image

Improvement:

williamputraintan commented 3 weeks ago

Thanks for the update! The diagram is super useful and I think we should stick this as part of the deployment docs.