capabilities.work

AWS FIS Update Template Then Run

A 3-step recipe with Amazon Fault Injection Simulator. We can help you get access.

Recipe · 3 steps

AWS FIS Update Template Then Run

Get a template, update it, then start an experiment from the revised template.

  1. Read the experiment template to confirm it exists before updating it.
  2. Apply an update to the experiment template, revising its description. The UpdateExperimentTemplate operation is the PATCH on /experimentTemplates/{id}.
  3. Start a fault injection experiment from the updated template.
What you'll need to have ready
  • templateId: The id of the experiment template to update and run.
  • description: The revised description to apply to the experiment template.
  • roleArn: IAM role ARN that FIS assumes to run the experiment.
  • clientToken: Idempotency token for the start request.
  • tags: Tags to apply to the started experiment.
For your developer

Arazzo workflow amazon-fault-injection-simulator:update-template-then-run, 3 operations: GetExperimentTemplate → UpdateExperimentTemplate → StartExperiment. Specs on APIs.io.