Difference between revisions of "Aws cloudformation create-stack"

From wikieduonline
Jump to navigation Jump to search
 
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]].

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: