title: AWS - Errors - Updating Auto Scaling group, Amazon CloudFormation, Failed to deploy configuration
body: <p>Within the AWS -> Elastic Beanstalk (Dashboard) -> Configuration -> Software Configuration -> Environment Properties</p>
  
  <p>When I try to add &amp; configure my "Environment Properties" from the config file ".env.default" of my node.js application which is as follows:</p>
  
  <pre><code>#.env.default
  
  # General settings
  TIMEZONE=Europe/Amsterdam
  
  # --------
  
  # Debug-related settings
  LOG_LEVEL_CONSOLE=info
  LOG_LEVEL_FILE=info
  ENABLE_FILE_LOGGING=true
  
  # Whether the local log directory (./logs/) should be preferred over /var/log/
  LOG_FILE_PREFER_LOCAL=false
  
  # Override the default logging location (/var/log/ or ./logs/)
  # FORCE_LOG_LOCATION=./some-other-directory/
  # /../../log/nodejs/
  
  # --------
  
  # Crash-related settings
  MAX_CONSECUTIVE_CRASHES=5
  CONSECUTIVE_CRASH_RESET_MS=5000
  
  # --------
  
  # Settings relating to remote API access
  ENABLE_REMOTE_ACCESS=true
  ENABLE_WHITELIST=true
  HOST_API=true
  HOST_WEB_INTERFACE=true
  LISTEN_PORT=8081
  JWT_SECRET=ItsASecretToEverybodyMAHBOI
  
  # LISTEN_PORT=1903 backup
  #INTERNAL_LISTEN_PORT=1939 backup
  
  # --------
  
  # Settings relating to internal access
  INTERNAL_LISTEN_PORT=8083
  
  # --------
  
  # Database-related settings
  DATABASE_HOST=acc-sc-3.crmhqy2lzjw4.eu-west-1.rds.amazonaws.com
  DATABASE_NAME=acc_schedule_center_3
  DATABASE_USER=sc_3
  DATABASE_PASS=yCFKIqzLcBIBt1wYj4Qn
  MAX_IDLE_TIME=28800
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/VHces.png" rel="nofollow noreferrer">Environment Properties - First Side</a></p>
  
  <p><a href="https://i.stack.imgur.com/MIxhR.png" rel="nofollow noreferrer">Environment Properties - Second Side</a></p>
  
  <p>Ignore the data that is listed inside the "Property Name" &amp; "Property Value", cause they were from the previous configuration.</p>
  
  <p>The Core Error, I'm facing at the moment is as follows:</p>
  
  <p><strong>ERROR #1</strong></p>
  
  <blockquote>
    <p>Service:AmazonCloudFormation, Message:Stack named
    'awseb-e-4e98c2gukw-stack' aborted operation. Current state:
    'UPDATE_ROLLBACK_IN_PROGRESS' Reason: null</p>
  </blockquote>
  
  <p><strong>ERROR #2</strong></p>
  
  <blockquote>
    <p>Updating Auto Scaling group named:
    awseb-e-4e98c2gukw-stack-AWSEBAutoScalingGroup-1GR8E4SU6QZGJ failed
    Reason: Template error: DBInstance aa153clv2zourf2 doesn't exist</p>
  </blockquote>
  
  <p><strong>ERROR #3</strong></p>
  
  <blockquote>
    <p>Failed to deploy configuration.</p>
  </blockquote>
  
  <p>I'm fairly new, or can call me a novice coder or DevOps in general, but would like to know if anyone knows the solution for these errors?</p>
  
  <p>Thanks in advance everyone!</p>
  
  <p>Kind Regards,</p>
  
  <p>Doga</p>