elastic-beanstalk


Can't seem to override erroneous .ebextensions config AWS Elastic Beanstalk


I am deploying zip files from my CI server to an Elastic Beanstalk instance using EB CLI. This has been working fine up until now using both manual and automated deployments.
Yesterday I started playing about with CloudWatch logging, and tried out a blog to kick things off. In terms of deployment, things were still working fine. I then added in an intentional mistake to test what would happen if the deployment failed:
######################################################
## Alarms
AWSEBCWLHttp5xxCountAlarm :
nonsensechangeheree
Type : "AWS::CloudWatch::Alarm"
DependsOn : AWSEBCWLHttpNon5xxMetricFilter
Properties :
AlarmDescription: "Application is returning too many 5xx responses (count too high)."
MetricName: CWLHttp5xx
Namespace: {"Fn::Join":["/", ["ElasticBeanstalk", {"Ref":"AWSEBEnvironmentName"}]]}
Statistic: Sum
Period: 60
EvaluationPeriods: 1
Threshold: 10
ComparisonOperator: GreaterThanThreshold
AlarmActions:
- "Fn::If":
- SNSTopicExists
- "Fn::FindInMap":
- AWSEBOptions
- options
- EBSNSTopicArn
- { "Ref" : "AWS::NoValue" }
When I then removed the mistake, I was still getting an error message when running eb deploy:
ERROR: InvalidParameterValueError - The configuration file .ebextensions/cwl-webrequest-metrics.config in application version talisker-0.0.26 contains invalid YAML or JSON. YAML exception: while scanning a simple key
in "<reader>", line 125, column 3:
nonsensechangeheree
^
could not found expected ':'
in "<reader>", line 126, column 10:
Type : "AWS::CloudWatch::Alarm"
^
, JSON exception: Unexpected character (#) at position 0.. Update the configuration file.
No matter what I do to pass in the correct config, this error still shows! I have checked the ZIP file I am uploading and I get the error whether I include .ebextensions or not. I have tried deleting and re-uploading the ZIP to S3. I have tried rebooting the server. I have tried manually uploading an entirely new version.
Is there somewhere this config persists where I can overwrite it? I have also tried deleting the offending alarm in the console.
I'm sure there is something simple I have overlooked, so any suggestions (obvious or otherwise) would be greatly appreciated!

Related Links

elastic beanstalk Enhanced Health Overview : memory is in use
AWS Elastic Beanstalk - Source code in inner folder
Does anyone deploy meanio project to AWS Elasticbeanstalk?
AWS CodeDeploy?
Elastic Beanstalk randomly goes offline
How to enable parse server rest api
How to deploy config.json on elastic beanstalk
Error in AWS ElasticBeanStalk python 27 application that was running fine
Using elastic ip for amazon's ElasticBeanstalk instance
Creating custom scaling trigger for elastic beanstalk
Failing to deploy flask app on AWS Elastic Beanstalk environment
Elastic Beanstalk IAM developer permissions
Elastic beanstalk not using reserved instance
Updating AWS Elastic Bean has encountered a . How to resolve this?
How to automatically remove instances in EB whose status OutOfService is?
chmod configuration in elastic beanstalk

Categories

HOME
uwp
mocking
lsf
demandware
clojure
apt-get
servlets
jsessionid
python-3.5
typeahead.js
prometheus
antlr
addeventlistener
c++14
sweetalert
clion
copy-paste
google-maps-sdk-ios
android-vision
asciidoc
executable
aac
openmodelica
sonata-admin
fbx
records
helpers
ssrs-2008
curve-fitting
snort
stm32f4discovery
mouseevent
core-location
abstract-syntax-tree
weather-api
sumifs
launchpad
solarwindslem
stomp
vue-router
lifecycle
haxm
jformattedtextfield
sieve-of-eratosthenes
p4-lang
argparse
msal
texture-mapping
jsonstore
eve
tabview
maven-jetty-plugin
keyboard-maestro
gulp-babel
name-mangling
attributerouting
master-data-management
maven-versions-plugin
zbar
waf
sqlite-net
mailcore2
error-correction
hapi.js
dms
accounts
main-activity
kinto
jedi
openocd
json4s
translate3d
ppl
antiforgerytoken
epplus-4
servlet-listeners
mpj-express
repaint
sqlhelper
ratingbar
asf
before-save
clearcase-remote-client
team-explorer-everywhere
fig
blueprint
prudentia
qdebug
hla
xhtml-transitional
capitalize
slimbox
icon-fonts
memento
symfony-2.2
gigaspaces
b-method
duplicate-data
staging
nstreecontroller
seam-conversation
contracts
graceful-degradation

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App