Difference between revisions of "Aws cloudformation validate-template"
Jump to navigation
Jump to search
↑ https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/validate-template.html
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{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": [], | "Parameters": [], | ||
Line 7: | 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": [] | ||
} | } | ||
== Related terms == | == Related terms == | ||
− | * [[terraform validate]] | + | * <code>[[terraform validate]]</code> |
− | |||
== See also == | == See also == |
Latest revision as of 18:43, 30 November 2021
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]
- AWS CloudFormation: [
aws cloudformation
|create-stack
|list-stacks
|delete-stack
|update-stack
|list-types
|estimate-template-cost
|validate-template
|describe-stacks
|deploy
|drift detection
],aws cloudformation get-template-summary, aws cloudformation describe-stack-events
Advertising: