Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor IaC Build Pipeine #29

Open
williamputraintan opened this issue Sep 16, 2024 · 2 comments · Fixed by #36 or #56
Open

Refactor IaC Build Pipeine #29

williamputraintan opened this issue Sep 16, 2024 · 2 comments · Fixed by #36 or #56
Assignees
Labels
feature New feature or request

Comments

@williamputraintan
Copy link
Member

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.
  • These required to setup AWS RAM for each stage account
  • Build will solely on the build account
@raylrui
Copy link
Contributor

raylrui commented Oct 24, 2024

Current UI pipeline as below
image

Improvement:

  • build custom web hook to let infra pipeline only triggered by deploy cdk code, and code build pipeline only trigger by other code

@williamputraintan
Copy link
Member Author

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

@raylrui raylrui linked a pull request Oct 24, 2024 that will close this issue
@raylrui raylrui reopened this Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
2 participants