Difference between revisions of "Aws cloudformation create-stack"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
* https://docs.aws.amazon.com/cli/latest/reference/cloudformation/create-stack.html
+
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/create-stack.html
  
 
  [[aws cloudformation]] create-stack --template-body file://[[RDS_template.cf]] --stack-name your_RDS_stack
 
  [[aws cloudformation]] create-stack --template-body file://[[RDS_template.cf]] --stack-name your_RDS_stack
Line 9: Line 9:
  
 
  [[aws cloudformation]] create-stack [[--template-body]] your_stack_file.yml --stack-name yourstackname
 
  [[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: 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: [[At least one Resources member must be defined]].
Line 19: Line 19:
 
* <code>[[aws cloudformation update-stack]]</code>
 
* <code>[[aws cloudformation update-stack]]</code>
 
* <code>[[aws cloudformation describe-stacks]]</code>
 
* <code>[[aws cloudformation describe-stacks]]</code>
 +
* <code>[[aws cloudformation deploy]]</code>
 
* <code>[[--template-url]]</code>
 
* <code>[[--template-url]]</code>
 
* [[Cloudformation AWS::S3::Bucket example]]
 
* [[Cloudformation AWS::S3::Bucket example]]

Latest revision as of 18:21, 5 May 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[edit]

See also[edit]

Advertising: