summaryrefslogtreecommitdiffstats
path: root/aria/multivim-plugin/nova_plugin/tests/resources/test-keypair-validation-blueprint.yaml
blob: 22b7fb5362c780d2a63fca9dbd598e1a073324a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
tosca_definitions_version: cloudify_dsl_1_3

imports:
  - https://raw.githubusercontent.com/cloudify-cosmo/cloudify-manager/4.1/resources/rest-service/cloudify/types/types.yaml
  - plugin.yaml

inputs:
  private_key: {}
  is_keypair_external: {}


node_templates:

  keypair:
    type: cloudify.openstack.nodes.KeyPair
    properties:
      private_key_path: { get_input: private_key }
      use_external_resource: { get_input: is_keypair_external }
      openstack_config:
        username: aaa
        password: aaa
        tenant_name: aaa
        auth_url: aaa