forked from cloudify-cosmo/cloudify-gcp-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.yaml
805 lines (779 loc) · 28.3 KB
/
plugin.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
plugins:
# Name could be anything, this name is what appears on the beginning of operation
# mappings.
gcp_plugin:
# Could be 'central_deployment_agent' or 'host_agent'.
# If 'central_deployment_agent', this plugin will be executed on the
# deployment dedicated agent, other wise it will be executed on the host agent.
executor: central_deployment_agent
# URL to archive containing the plugin or name of directory containing
# the plugin if it is included in the the blueprint directory under the
# "plugins" directory.
source: https://github.com/szpotona/cloudify-gcp-plugin/archive/master.zip
node_types:
cloudify.gcp.nodes.Instance:
derived_from: cloudify.nodes.Compute
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing instance that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
image_id:
description: >
The ID of the image in your GCP account.
type: string
default: {}
instance_type:
description: >
The instance's type. All available instance types can be found here:
https://cloud.google.com/compute/docs/machine-types
type: string
default: n1-standard-1
instance_additional_settings:
description: >
Additional instance settings.
default: {}
name:
description: >
Optional instance name. By default it will be instance id.
type: string
default: ''
zone:
description: >
Optional zone name. If not given, this instance will be deployed
in default zone.
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
start:
implementation: gcp_plugin.gcp.compute.instance.create
inputs:
startup_script:
default:
type: ''
string: ''
external_ip:
default: false
instance_type:
default: { get_property: [SELF, instance_type]}
image_id:
default: { get_property: [SELF, image_id]}
name:
default: { get_property: [SELF, name]}
zone:
default: { get_property: [SELF, zone]}
scopes:
default: ''
user_data:
default: ''
delete:
implementation: gcp_plugin.gcp.compute.instance.delete
cloudify.gcp.nodes.InstanceGroup:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing instance group that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional instance name. By default it will be instance group id.
type: string
default: ''
named_ports:
description: >
A list of named ports defined for this instance group, the expected
format is: [{name: 'name', port: 1234}, ... ].
default: []
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.instance_group.create
inputs:
name:
default: { get_property: [SELF, name]}
named_ports:
default: { get_property: [SELF, named_ports]}
delete:
implementation: gcp_plugin.gcp.compute.instance_group.delete
cloudify.gcp.nodes.Volume:
derived_from: cloudify.nodes.Volume
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing volume that is referenced by this node.
default: ''
image:
description: >
The image of the Volume.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the Google Cloud Platform API.
default: {}
name:
description: >
Optional disk name. By default it will be disk id.
type: string
default: ''
size:
description: >
Size of the Volume in GB.
type: integer
default: 10
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.disk.create
inputs:
image:
default: { get_property: [SELF, image] }
name:
default: { get_property: [SELF, name] }
size:
default: { get_property: [SELF, size] }
delete:
implementation: gcp_plugin.gcp.compute.disk.delete
cloudify.gcp.nodes.Network:
derived_from: cloudify.nodes.Network
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing network that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the Google Cloud Platform API.
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.network.create
inputs:
network:
default: {}
delete:
implementation: gcp_plugin.gcp.compute.network.delete
cloudify.gcp.nodes.FirewallRule:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing firewall rule that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the Google Cloud Platform API.
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.firewall.create
inputs:
firewall_rule:
default: {}
delete:
implementation: gcp_plugin.gcp.compute.firewall.delete
cloudify.gcp.nodes.SecurityGroup:
derived_from: cloudify.nodes.SecurityGroup
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing security group that is referenced by this node.
default: ''
rules:
description: >
You need to pass in either source_tags list OR cidr_ip list,
and then the following two: ip_protocol and port list OR target_tags list.
default: []
gcp_config:
description: >
A dictionary of values to pass to authenticate with the Google Cloud Platform API.
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.firewall.create_security_group
inputs:
rules:
default: { get_property: [SELF, rules] }
delete:
implementation: gcp_plugin.gcp.compute.firewall.delete_security_group
cloudify.gcp.nodes.KeyPair:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
type: boolean
default: false
private_key_path:
description: >
The path where the key should be saved on the machine. If this is a bootstrap
process, this refers to the local computer. If this will run on the manager,
this will be saved on the manager.
type: string
default: ''
public_key_path:
description: >
The path to read from existing public key.
type: string
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the Google Cloud Platform API.
default: {}
user:
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.keypair.create
inputs:
user:
default: { get_property: [SELF, user] }
private_key_path:
default: { get_property: [SELF, private_key_path] }
public_key_path:
default: { get_property: [SELF, public_key_path] }
delete:
implementation: gcp_plugin.gcp.compute.keypair.delete
inputs:
user:
default: { get_property: [SELF, user] }
private_key_path:
default: { get_property: [SELF, private_key_path] }
cloudify.gcp.nodes.ExternalIP:
derived_from: cloudify.nodes.VirtualIP
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
If set to true, this node will be static IP, otherwise ephemeral IP.
type: boolean
default: false
ip_address:
description: >
Address of this external IP. This should be address of already existing,
unattached static IP. It will be used only if "use_external_resource"
is set to true.
type: string
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
cloudify.gcp.nodes.StaticIP:
derived_from: cloudify.nodes.VirtualIP
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
If set to true, this node will be already existing static IP address, otherwise
it will be reserved static IP address.
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing static ip that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional static ip name. By default it will be static ip id.
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.static_ip.create
inputs:
name:
default: { get_property: [SELF, name]}
delete:
implementation: gcp_plugin.gcp.compute.static_ip.delete
cloudify.gcp.nodes.Image:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists or if Cloudify should create the resource.
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing image that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.image.create
inputs:
image_name:
default: ''
image_path:
default: ''
delete:
implementation: gcp_plugin.gcp.compute.image.delete
cloudify.gcp.nodes.HealthCheck:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing health check that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional health check name. By default it will be health check id.
type: string
default: ''
health_check_type:
description: >
This field indicates if this health check is a HTTP or HTTPS based
health check. Possible values are: 'http' and 'https'.
type: string
default: 'http'
additional_settings:
description: >
Optional additional settings. Possible fields in dictionary are:
port, request_path, timeout_sec, check_interval_sec,
healthy_threshold, unhealthy_threshold.
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.health_check.create
inputs:
name:
default: { get_property: [SELF, name]}
health_check_type:
default: { get_property: [SELF, health_check_type]}
additional_settings:
default: { get_property: [SELF, additional_settings]}
delete:
implementation: gcp_plugin.gcp.compute.health_check.delete
cloudify.gcp.nodes.BackendService:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing backend service that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional health check name. By default it will be backend service id.
type: string
default: ''
health_check:
description: >
URL of a health check assigned to this backend service.
type: string
default: ''
additional_settings:
description: >
Optional additional settings. Possible fields in dictionary are:
port_name, protocol, timeout_sec.
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.backend_service.create
inputs:
name:
default: { get_property: [SELF, name]}
health_check:
default: { get_property: [SELF, health_check]}
additional_settings:
default: { get_property: [SELF, additional_settings]}
delete:
implementation: gcp_plugin.gcp.compute.backend_service.delete
cloudify.gcp.nodes.UrlMap:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing URL map that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional health check name. By default it will be URL map id.
type: string
default: ''
default_service:
description: >
URL of a backend service to which this URL map will redirect traffic by default.
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.url_map.create
inputs:
name:
default: { get_property: [SELF, name]}
default_service:
default: { get_property: [SELF, default_service]}
delete:
implementation: gcp_plugin.gcp.compute.url_map.delete
cloudify.gcp.nodes.TargetProxy:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing target proxy that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional target proxy name. By default it will be target proxy id.
type: string
default: ''
target_proxy_type:
description: >
This field indicates if this target proxy is a HTTP or HTTPS based
target proxy. Possible values are: 'http' and 'https'.
type: string
default: 'http'
url_map:
description: >
URL of a URL map which specifies how traffic from this target proxy
should be redirected.
type: string
default: ''
ssl_certificate:
description: >
URL of a SSL certificate associated with this target proxy.
Can and must be used only with https type proxy.
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.target_proxy.create
inputs:
name:
default: { get_property: [SELF, name]}
target_proxy_type:
default: { get_property: [SELF, target_proxy_type]}
url_map:
default: { get_property: [SELF, url_map]}
ssl_certificate:
default: { get_property: [SELF, ssl_certificate]}
delete:
implementation: gcp_plugin.gcp.compute.target_proxy.delete
cloudify.gcp.nodes.SslCertificate:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing SSL certificate that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional SSL certificate name. By default it will be SSL certificate id.
type: string
default: ''
private_key:
description: >
Dictionary describing private key in PEM format used to generate this SSL certificate.
Expected format is:
type: text|file
data: Private key in PEM format if text, otherwise path to a file with private key
default: {}
certificate:
description: >
Certificate (self-signed or obtained from CA) in PEM format.
Expected format is:
type: text|file
data: Certificate in PEM format if text, otherwise path to a file with certificate
default: {}
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.ssl_certificate.create
inputs:
name:
default: { get_property: [SELF, name]}
private_key:
default: { get_property: [SELF, private_key]}
certificate:
default: { get_property: [SELF, certificate]}
delete:
implementation: gcp_plugin.gcp.compute.ssl_certificate.delete
cloudify.gcp.nodes.GlobalForwardingRule:
derived_from: cloudify.nodes.Root
properties:
use_external_resource:
description: >
Indicate whether the resource exists and use existing (true)
or if Cloudify should create new resource (false).
type: boolean
default: false
resource_id:
description: >
If "use_external_resource" is set to true, this field will be used as a name
of existing global forwarding rule that is referenced by this node.
default: ''
gcp_config:
description: >
A dictionary of values to pass to authenticate with the GCP API.
default: {}
name:
description: >
Optional global forwarding rule name. By default it will be
global forwarding rule id.
type: string
default: ''
target_proxy:
description: >
URL of a target proxy (http or https) that will receive traffic
coming from specified IP address.
type: string
default: ''
port_range:
description: >
Port number used by this forwarding rule. If packets are redirected to
HTTP proxy, then possible values are 80 and 8080, in case of HTTPS proxy
the only accepted value is 443.
type: string
default: '80'
ip_address:
description: >
IP address associated with this forwarding rule. This address
should be reserved earlier.
type: string
default: ''
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: gcp_plugin.gcp.compute.forwarding_rule.create
inputs:
name:
default: { get_property: [SELF, name]}
target_proxy:
default: { get_property: [SELF, target_proxy]}
port_range:
default: { get_property: [SELF, port_range]}
ip_address:
default: { get_property: [SELF, ip_address]}
delete:
implementation: gcp_plugin.gcp.compute.forwarding_rule.delete
relationships:
cloudify.gcp.relationships.contained_in_compute:
derived_from: cloudify.relationships.contained_in
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
preconfigure:
implementation: gcp_plugin.gcp.compute.instance.contained_in
cloudify.gcp.relationships.instance_connected_to_security_group:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: gcp_plugin.gcp.compute.instance.add_instance_tag
inputs:
instance_name:
default: { get_attribute: [SOURCE, gcp_name] }
tag:
default: { get_attribute: [TARGET, targetTags] }
unlink:
implementation: gcp_plugin.gcp.compute.instance.remove_instance_tag
inputs:
instance_name:
default: { get_attribute: [SOURCE, gcp_name] }
tag:
default: { get_attribute: [TARGET, targetTags] }
cloudify.gcp.relationships.instance_connected_to_ip:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: gcp_plugin.gcp.compute.instance.add_external_ip
inputs:
instance_name:
default: { get_attribute: [SOURCE, gcp_name] }
unlink:
implementation: gcp_plugin.gcp.compute.instance.remove_external_ip
inputs:
instance_name:
default: { get_attribute: [SOURCE, gcp_name] }
cloudify.gcp.relationships.instance_connected_to_keypair:
derived_from: cloudify.relationships.connected_to
target_interfaces:
cloudify.interfaces.relationship_lifecycle:
preconfigure:
implementation: gcp_plugin.gcp.compute.instance.add_ssh_key
inputs:
instance_name:
default: { get_attribute: [SOURCE, gcp_name] }
cloudify.gcp.relationships.file_system_contained_in_compute:
derived_from: cloudify.relationships.contained_in
target_interfaces:
cloudify.interfaces.relationship_lifecycle:
preconfigure:
implementation: gcp_plugin.gcp.compute.disk.add_boot_disk
cloudify.gcp.relationships.instance_connected_to_disk:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: gcp_plugin.gcp.compute.instance.attach_disk
inputs:
instance_name:
default: { get_attribute: [TARGET, gcp_name] }
disk:
default: { get_attribute: [SOURCE, gcp_disk] }
unlink:
implementation: gcp_plugin.gcp.compute.instance.detach_disk
inputs:
instance_name:
default: { get_property: [TARGET, gcp_name] }
disk_name:
default: { get_attribute: [SOURCE, gcp_name] }
cloudify.gcp.relationships.instance_connected_to_instance_group:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: gcp_plugin.gcp.compute.instance_group.add_to_instance_group
inputs:
instance_group_name:
default: { get_attribute: [TARGET, gcp_name] }
instance_name:
default: { get_attribute: [SOURCE, gcp_name] }
unlink:
implementation: gcp_plugin.gcp.compute.instance_group.remove_from_instance_group
inputs:
instance_group_name:
default: { get_attribute: [TARGET, gcp_name] }
instance_name:
default: { get_attribute: [SOURCE, gcp_name] }
cloudify.gcp.relationships.uses_as_backend:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: gcp_plugin.gcp.compute.backend_service.add_backend
inputs:
backend_service_name:
default: { get_attribute: [SOURCE, gcp_name] }
group_self_url:
default: { get_attribute: [TARGET, self_url] }
unlink:
implementation: gcp_plugin.gcp.compute.backend_service.remove_backend
inputs:
backend_service_name:
default: { get_attribute: [SOURCE, gcp_name] }
group_self_url:
default: { get_attribute: [TARGET, self_url] }