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
(9 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 file:// | + | [[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
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: