aws-nodejs-eb-codebuild
aws-nodejs-eb-codebuild copied to clipboard
Fixing the elastic beanstalk config to work for the static images
I kept getting the following error when trying to create my EB environment.
Invalid option specification (Namespace: 'aws:elasticbeanstalk:container:nodejs:staticfiles', OptionName: '/static'): Unknown configuration setting.
After making this change and repacking the zip the environment stood up correctly.
I removed the second option because if you read the docs that is the default option for a ProxyServer is nginx https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-specific.html#command-options-nodejs