-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblueprint_password_vars.yaml
70 lines (57 loc) · 1.69 KB
/
blueprint_password_vars.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
tosca_definitions_version: cloudify_dsl_1_3
description: >
This blueprint creates infrastructure on AWS using Terraform.
imports:
- https://cloudify.co/spec/cloudify/6.3.2/types.yaml
- plugin:cloudify-terragrunt-plugin
- plugin:cloudify-terraform-plugin
inputs:
source:
type: string
description: The URL of a zip file containing the Terragrunt configuration and terragrunt.hcl file.
default: ""
username:
type: string
default: ""
password:
type: string
default: ""
source_path:
type: string
default: ""
environment_variables:
type: dict
default: {}
command_options:
type: dict
default:
all: ["--terragrunt-non-interactive", "--terragrunt-log-level", "debug"]
apply: ["-auto-approve"]
destroy: ["-auto-approve"]
plan: ["-json"]
output: ["-json"]
node_templates:
terraform:
type: cloudify.nodes.terraform
properties:
resource_config:
installation_source: https://releases.hashicorp.com/terraform/1.1.4/terraform_1.1.4_linux_amd64.zip
terragrunt:
type: cloudify.nodes.terragrunt
Stack:
type: cloudify.nodes.terragrunt.Stack
properties:
resource_config:
run_all: true
source:
location: { get_input: source }
username: { get_input: username }
password: { get_input: password }
source_path: { get_input: source_path }
environment_variables: { get_input: environment_variables }
command_options: { get_input: command_options }
relationships:
- target: terragrunt
type: cloudify.relationships.terragrunt.depends_on
- target: terraform
type: cloudify.relationships.depends_on