stelligent / mu

A full-stack DevOps on AWS framework
https://getmu.io
MIT License
974 stars 134 forks source link

Parameters: [ScalingMinSize, ScalingMaxSize] do not exist in the template #401

Closed nicholasgriffintn closed 6 years ago

nicholasgriffintn commented 6 years ago

hey,

whenever I configure an aurora serverless with a min or max size i get this error:

Parameters: [ScalingMinSize, ScalingMaxSize] do not exist in the template

how do I configure the min . or max size for aurora if not that? because the default 256 is still coming through, which i definitely don't want.

here's the config:

  database:
      name: wordpress
      engine: aurora
      instanceClass: db.t2.small
      iamAuthentication: false
      masterUsername: admin
      engineMode: serverless
      allocatedStorage: 10

      environmentConfig:                        
        acceptance:
          engineMode: serverless
          minSize: 2
          maxSize: 2
        production:
          engineMode: serverless
          minSize: 2
          maxSize: 8
mneil commented 6 years ago

Looks like there's an issue with the expected parameter name in the code. I've opened a PR to get it fixed. It'll should be available next release.

cplee commented 6 years ago

fixed in #402

nicholasgriffintn commented 6 years ago

Thanks for the quick fix will update to that later.