Multi-Environment Deployments with React

If you are using Create-React-App to scaffold your react application there is built in support for changing environment variables based on the NODE_ENV values, this is done by using .env files.  In short this process works by having a .env, .env.production, .env.development set of files.  When you run/build your application CRA will set the NODE_ENV value …

Continue reading Multi-Environment Deployments with React

Building AWS Infrastructure with Terraform: S3 Bucket Creation

If you are going to be working with any cloud provider it is highly suggested that you script out the creation/maintenance of your infrastructure.  In the AWS word you can use the native CloudFormation solution, but honestly I find this painful and the docs very lacking.  Personally, I prefer Terraform by Hashicorp.  In my experience …

Continue reading Building AWS Infrastructure with Terraform: S3 Bucket Creation