aws cloudformation validate-template

From wikieduonline
Jump to navigation Jump to search

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/validate-template.html

aws cloudformation validate-template --template-body file://template.yml
Output:
{
    "Parameters": [],
    "Description": "AWS CloudFormation Sample Template RDS_Snapshot_On_Delete: Sample template showing how to create an RDS DBInstance that is snapshotted on stack deletion. **WARNING** 
This template creates an Amazon RDS database instance. When the stack is deleted a database snpshot will be left in your account. You will be billed for the AWS resources used if you 
create a stack from this template."
}
Output official AWS documentation: [1]
{
    "Description": "AWS CloudFormation Sample Template S3_Bucket: Sample template showing how to create a publicly accessible S3 bucket. **WARNING** This template creates 
an S3 bucket. You will be billed for the AWS resources used if you create a stack from this template.",
    "Parameters": [],
    "Capabilities": []
}

Related terms

See also

  • https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/validate-template.html
  • Advertising: