Difference between revisions of "Aws cloudformation validate-template"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
  [[aws cloudformation]] validate-template --template-body file://template.yml
 
  [[aws cloudformation]] validate-template --template-body file://template.yml
 +
Output:
 
  {
 
  {
 
     "Parameters": [],
 
     "Parameters": [],
Line 8: Line 9:
 
  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  
 
  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."
 
  create a stack from this template."
 +
}
 +
 +
Output official AWS documentation: <ref>https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/validate-template.html</ref>
 +
{
 +
    "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": []
 
  }
 
  }
  

Latest revision as of 18:43, 30 November 2021

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[edit]

See also[edit]

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