Difference between revisions of "Aws cloudformation create-stack"

From wikieduonline
Jump to navigation Jump to search
Line 18: Line 18:
 
* <code>[[cfn-lint]]</code>: <code>[[cfn-lint file_with_your_stack.yml]]</code>
 
* <code>[[cfn-lint]]</code>: <code>[[cfn-lint file_with_your_stack.yml]]</code>
 
* <code>[[aws cloudformation update-stack]]</code>
 
* <code>[[aws cloudformation update-stack]]</code>
* <code>[[aws cloudformation describe-stack]]</code>
+
* <code>[[aws cloudformation describe-stacks]]</code>
 
* <code>[[--template-url]]</code>
 
* <code>[[--template-url]]</code>
 
* [[Cloudformation AWS::S3::Bucket example]]
 
* [[Cloudformation AWS::S3::Bucket example]]

Revision as of 15:23, 28 April 2022

aws cloudformation create-stack --template-body file://RDS_template.cf --stack-name your_RDS_stack
{
    "StackId": "arn:aws:cloudformation:us-east-2:672850246556:stack/your_RDS_stack/0ba7cc40-0007-11ec-bf04-02091cdbfec6"
}


aws cloudformation create-stack --template-body your_stack_file.yml --stack-name yourstackname
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: unsupported structure.
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: At least one Resources member must be defined.
An error occurred (ValidationError) when calling the CreateStack operation: Template format error: Unresolved resource dependencies [MyDbSecurityByEC2SecurityGroup, MyDbSecurityByCIDRIPGroup] in the Resources block of the template

Related terms

See also

Advertising: