eddmann / serverless-fargate

Maintain long-running Fargate ECS tasks within your Serverless project
53 stars 22 forks source link

Add defineTopLevelProperty to avoid serverless warnings #22

Closed mars-lan closed 2 years ago

mars-lan commented 2 years ago

Currently getting the following warning when running serverless commands:

Warning: Invalid configuration encountered at 'fargate': unrecognized property 'containerInsights'

See https://www.serverless.com/framework/docs/guides/plugins/custom-configuration#top-level-properties-via-definetoplevelproperty for more details.

eddmann commented 2 years ago

This looks to be a missed schema def. Have added in the latest release. Thanks for the report.