DEV Community

Discussion on: Injecting Angular Environment Variables at Build Time

 
valoni01 profile image
Valentine Awe

Great.. I thought you suggested SSM because of security. It is absolutely fine to store the variables anywhere. As long as you can extract the variables at build time from your build process and inject to the code

Thread Thread
 
talr98 profile image
Tal Rofe

Is there any critical reason you chose S3 over SSM?

Thread Thread
 
valoni01 profile image
Valentine Awe

For me, it was simplicity. I can easily manage the the folders and environment files in S3. I guess with the SSM param store you will have to write the logic of reading the parameters from a path in your store and then create your environment files on the fly and also write the parameters to the created file.
with the s3, we just have to copy.