settings.yml files are simple yaml files which define how Gordon
Settings can be defined at two different levels, project and application level.
Resources such as lambdas or event sources can be defined in both levels, but there are some other settings which are only expected at project level.
These settings can be defined either at project or app level.
||Lambda definitions. Anatomy of Lambdas|
||CloudWatch Events definitions. Anatomy of Cron integration|
||Dynamodb Event Source definitions. Anatomy of Dynamodb integration|
||Kinesis Event Source definitions. Anatomy of Kinesis integration|
||S3 notfication definitions. Anatomy of S3 integration|
||API Gateway definitions. Anatomy of Api Gateway integration|
||AWS account id where you are deploying your lambdas. If not present, gordon will try to retrieve it using IAM api.|
Project settings are defined in the root level of your project (
project/settings.yml). The section Project Anatomy will give you more information about how
you can customize your project.
Application settings are defined within your applications (
One particularity about application settings, is that those can be redefined as part of it’s initialization. If for example you want to reuse one application and redefining some settings, you can do so:
--- project: my-project default-region: eu-west-1 code-bucket: my-bucket apps: - exampleapp - exampleapp: a: b c: d ...