Add an AWS CloudFormation Template

Follow

Add an AWS CloudFormation Template

You can create an AWS AWS CloudFormation template within Kion. CFTs can be up to 460,800 bytes in size.

To add an AWS CloudFormation template:

  1. Select Cloud Management > AWS AWS CloudFormation Templates.
  2. Click Add New
  3. In the AWS CloudFormation Name field, enter a name to identify the AWS AWS CloudFormation template throughout the application. This field must be unique among AWS AWS CloudFormation templates.
  4. Enter an optional Description.
  5. If you want to download an AWS CloudFormation template from the internet, you can paste a URL in the field and click Fetch Template.
  6. In the AWS AWS CloudFormation Template field, select either JSON or YAML and then enter or paste a valid AWS AWS CloudFormation template.
  7. Click Format to align the braces.
  8. If you have template parameters that are required for the template, you can select either JSON or YAML and then enter or paste these in the Template Parameters field, or click the Pre-fill Parameters button to pre-fill the values. Click Format to align the braces. CFT Template and Parameters can be entered separately, for example:
    • This is a sample AWS CloudFormation template:
    {    "Parameters": {        "ImageId": {            "Type": "AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>"        }    },    "Resources": {        "Instance": {            "Type": "AWS::EC2::Instance",            "Properties": {                "ImageId": {                    "Ref": "ImageId"                }            }        }    }}
    • This is a sample set of parameters:
    [   {       "ParameterKey": "ImageId",       "ParameterValue": "myLatestAMI"   }]
  9. In the Regions dropdown menu, select one or more regions where the AWS CloudFormation will be applied. Please note: the region(s) cannot currently be edited after template creation.
  10. In the Simple Notification Service ARNs box, enter any SNS ARNs you would like attached to your AWS CloudFormation Template. This field allows you to send a notification via SNS when AWS CloudFormation templates are finished applying to allow you to trigger advanced automation to meet your needs. Learn more about creating SNS ARNs at https://aws.amazon.com/sns
  11. Check the Enable Termination Protection checkbox if you would like to enable Terminate Protection on the AWS CloudFormation template when it's created. This does not prevent the AWS CloudFormation template from being modified or deleted in Kion, but it does prevent accidental deletion in the AWS account itself.
  12. In the Owners dropdown menu, select which users and user groups will have access to modify the template once it's created. You must select at least one user or group.
  13. Click Create Template.

 

Was this article helpful?
0 out of 0 found this helpful