apiVersion: 2.0 droplets-group-1: resource: Droplet metadata: names: - my-first-droplet - my-second-droplet spec: region: sgp1 size: 512mb image: ubuntu-14-04-x64 ssh_keys: null backups: true ipv6: true private_networking: true user_data: | #!/bin/bash -xv echo "Hello World" monitoring: true volume: {get_attr: "volume_group_1"} tags: - test - docli - example --- volumes-group-1: resource: Volume metadata: names: - volume1 - volume2 spec: description: "string" region: "sgp1" snapshot_id: "snapshot_id" size_gigabytes: 123 --- certificates-group-1: resource: Certificate metadata: names: - cert-1 - cert-2 spec: private_key: | "-----BEGIN PRIVATE KEY----- MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDBIZMz8pnK6V52 SVf+CYssOfCQHAx5f0Ou5rYbq3xNh8VHAIYJCQ1QxQIxKSP6+uODSYrb2KWyurP1 DwGb8OYm0J3syEDtCUQik1cpCzpeNlAZ2f8FzXyYQAqPopxdRpsFz8DtZnVvu86X wrE4oFPl9MReICmZfBNWylpV5qgFPoXyJ70ZAsTm3cEe3n+LBXEnY4YrVDRWxA3w Z2mzZ03HZ1hHrxK9CMnS829U+8sK+UneZpCO7yLRPuxwhmps0wpK/YuZZfRAKF1F ZRnak/SIQ28rnWufmdg16YqqHgl5JOgnb3aslKRvL4dI2Gwnkd2IHtpZnTR0gxFX fqqbQwuRAgMBAAECggEBAILLmkW0JzOkmLTDNzR0giyRkLoIROqDpfLtjKdwm95l 9NUBJcU4vCvXQITKt/NhtnNTexcowg8pInb0ksJpg3UGE+4oMNBXVi2UW5MQZ5cm cVkQqgXkBF2YAY8FMaB6EML+0En2+dGR/3gIAr221xsFiXe1kHbB8Nb2c/d5HpFt eRpLVJnK+TxSr78PcZA8DDGlSgwvgimdAaFUNO2OqB9/0E9UPyKk2ycdff/Z6ldF 0hkCLtdYTTl8Kf/OwjcuTgmA2O3Y8/CoQX/L+oP9Rvt9pWCEfuebiOmHJVPO6Y6xgtQVEXwmF1pDHH4Qtz/e6UZTdYeMl9G4aNO2CawwcaYECg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bTA7BggrBgEFBQcwAoYvaHR0cDovL2FwcHMuaWRlbnRydXN0LmNvbS9yb290cy9k c3Ryb290Y2F4My5wN2MwHwYDVR0jBBgwFoAUxKexpHsscfrb4UuQdf/EFWCFiRAw VAYDVR0gBE0wSzAIBgZngQwBAgEwPwYLKwYBBAGC3xMBAQEwMDAuBggrBgEFBQcC ARYiaHR0cDovL2Nwcy5yb290LXgxLmxldHNlbmNyeXB0Lm9yZzA8BgNVHR8ENTAz MDGgL6AthitodHRwOi8vY3JsLmlkZW50cnVzdC5jb20vRFNUUk9PVENBWDNDUkwu Y3JsMB0GA1UdDgQWBBSoSmpjBH3duubRObemRWXv86jsoTANBgkqhkiG9w0BAQsF AAOCAQEA3TPXEfNjWDjdGBX7CVW+dla5cEilaUcne8IkCJLxWh9KEik3JHRRHGJo uM2VcGfl96S8TihRzZvoroed6ti6WqEBmtzw3Wodatg+VyOeph4EYpr/1wXKtx8/ wApIvJSwtmVi4MFU5aMqrSDE6ea73Mj2tcMyo5jMd6jmeWUHK8so/joWUoHOUgwu X4Po1QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6 KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg== -----END CERTIFICATE-----" --- domains-group-1: resource: Domains metadata: names: - domain1.com - domain2.com spec: ttl: 120 zone_file: nil --- domainrecords-group-1: resource: DomainRecord metadata: names: - record1.domain.com - record2.domain.com spec: ttl: data: type: priority: port: weight: --- new-ssh-keys: resource: SshKeys metadata: names: - key-1 - key-2 spec: public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBAboEDAuox8j623C1uw2SBa1yYrFLjvi1MWGOVIyEycus/3Dob6+CZo1p9GPTy3cQfA4anoDvCrzTF4VKG53v2DBSTkELO40UFVrPYFx9jELkHSpVkZ76eDqSKSiDcPVax47IPYfmrY7D2ww8UtgIUGPLw3i7a23bAAh06LU5ghLEcd0c8CDMaAIPAIxz5GHBLNHUlwnnh8zveeDwxOCmj9MnPitCesZiomORIuidgojeqoIK7gI3S80EP5gs0egcmPG84grFqACNquoAsTq2osJqHWt8LG6NaXGqjqrAD+QUDZUI9DP0wD25XxMkBUU+HYvH6rNpR2G+4eSFWw9d quanpc@vccloud.vn" --- load-balancer-group-1: resource: LoadBalancer metadata: names: - LB1 - LB2 spec: algorithm: round_robin | least_connections region: "sgp1" forwarding_rules: - entry_protocol: "http" entry_port: 80 target_protocol: "http" target_port: 80 certificate_id: "testing" tls_passthrough: false - entry_protocol: "https" entry_port: 444 target_protocol: "https" target_port: 443 tls_passthrough: true health_check: - protocol: "http" port: 80 path: "/" check_interval_seconds: 10 response_timeout_seconds: 5 healthy_threshold: 5 unhealthy_threshold: 3 stickey_sessions: - type: none droplets_id: - get_attr: droplets-group-1 tag: "web/prod"