Creating change templates using Editor
Use the steps in this topic to configure a change template in Change Manager, a capability of AWS Systems Manager, by entering JSON or YAML instead of using the console controls.
To create a change template using Editor
In the navigation pane, choose Change Manager.
-
Choose Create template.
-
For Name, enter a name for the template that makes its purpose easy to identify, such as
RestartEC2LinuxInstance
. -
Above Change template details, choose Editor.
-
In the Document editor section, choose Edit, and then enter the JSON or YAML content for your change template.
The following is an example.
Note
The parameter
minRequiredApprovals
is used to specify how many reviewers at a specified level must approve a change request that is created using this template.This example demonstrates two levels of approvals. You can specify up to five levels of approvals, but only one level is required.
In the first level, the specific user "John-Doe" must approve each change request. After that, any three members of the IAM role
Admin
must approve the change request.For more information about approvals for change templates, see About approvals in your change templates.
-
Choose Save and preview.
-
Review the details of the change template you're creating.
If you want to make change to the change template before submitting it for review, choose Actions, Edit.
If you're satisfied with the contents of the change template, choose Submit for review. The users in your organization or account who have been specified as template reviewers on the Settings tab in Change Manager are notified that a new change template is pending their review.
If an Amazon Simple Notification Service (Amazon SNS) topic has been specified for change templates, notifications are sent when the change template is rejected or approved. If you don't receive notifications related to this change template, you can return to Change Manager later to check on its status.