aws-cli-tools / chaos-lambda-extension

The lambda-chaos-extension allows you to inject faults into Lambda functions without modifying the function code.
Apache License 2.0
27 stars 0 forks source link

Enhancement: Examples for AWS FIS using the extension #13

Open andrestoll opened 8 months ago

andrestoll commented 8 months ago

Motivation: Many users would like to see how to automate and conduct an experiment using tools such as the AWS FIS leveraging the chaos extension.

Detailed Description: Have a sample experiment template for the AWS FIS that uses the chaos extension during the experiment. The experiment template can be configured to inject chaos into a Lambda function, by adding the extension over the duration of the experiment and removing it after a successful completion (or failure) of the experiment.

Use Cases:

Alternatives Considered: An extension or third-party tool could provide this, but a built-in feature would provide a smoother and more integrated experience.

Additional Context: Would require a IaC framework to create the FIS template, e.g. CDK, Terraform or CloudFormation

having-fun-serverless commented 8 months ago

@andrestoll I understand the need. Wdyt about the example at https://github.com/aws-cli-tools/cfn-resource-provider ?

Do you think it can suffice? Do you expect the example to be part of this repo or a separate repo?

andrestoll commented 7 months ago

I was more thinking something like this:

I think it would be nice to have examples for experiements here, but I understand if you want to keep this repo as lean as possible