Difference between revisions of "Aws cloudformation validate-template"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lowercase}}
 +
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/validate-template.html
  
  aws cloudformation validate-template --template-body file://template.yml
+
  [[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: <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": []
 +
}
  
 +
== Related terms ==
 +
* <code>[[terraform validate]]</code>
  
{{aws cloudformation}}
+
== See also ==
 +
* {{aws cloudformation}}
 +
 
 +
[[Category:Cloudformation]]

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: