Delete a launch template to permanently remove it and all its versions from Elastic Compute Service (ECS). Existing instances created from the template are not affected.
Deleting a launch template also deletes all versions of the template. This action cannot be undone. To delete a specific version instead, see Delete a launch template version.
Procedure
Open the Launch Template page in the ECS console.
In the top navigation bar, select the region and resource group of the launch template.
Delete one or more launch templates:
Single template: Find the target launch template and click Delete in the Actions column.
Multiple templates: Select the launch templates and click Delete in the lower part of the page.
In the Delete Template dialog box, click OK.
The selected launch templates and all their versions are deleted.
API reference
Call DeleteLaunchTemplate to delete a launch template programmatically.