aws-nodejs-eb-codebuild icon indicating copy to clipboard operation
aws-nodejs-eb-codebuild copied to clipboard

Fixing the elastic beanstalk config to work for the static images

Open KenrickN1 opened this issue 5 years ago • 0 comments

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

KenrickN1 avatar Jun 29 '20 00:06 KenrickN1