• Resource Template Service

rts
  1. Help Center
  2. Resource Template Service
  3. User Guide
  4. Template Grammar
  5. Resources

Resources

Resources are specified in resources field. This field contains customized resources, such as VM, network, and volume resources. Each resource has a unique name. Different resources must be placed in different paragraphs. The format is as following:

resources:
  <resource ID>:
    type: <resource type>
    properties:
      <property name>: <property value>
    metadata:
      <resource specific metadata>
    depends_on: <resource ID or list of ID>
    update_policy: <update policy>
    deletion_policy: <deletion policy>

An example is provided as follows:

resources:
  my_instance:
    type: OS::Nova::Server
    properties:
      flavor: m1.small
      image: F18-x86_64-cfntools