github.com/replicatedcom/ship@v0.50.0/integration/init_app/amazon-eks-template/expected/.ship/release.yml (about)

     1  assets:
     2    v1:
     3      - amazon_eks:
     4          dest: new/new_vpc.tf
     5          cluster_name: '{{repl ConfigOption "name_source" }}'
     6          region: "us-west-2"
     7          created_vpc:
     8            vpc_cidr: '{{repl ConfigOption "cidr_source" }}'
     9            zones:
    10              - '{{repl ConfigOption "zone_source" }}'
    11              - us-west-2b
    12            public_subnets:
    13              - "10.0.1.0/24"
    14              - "10.0.2.0/24"
    15            private_subnets:
    16              - "10.0.129.0/24"
    17              - "10.0.130.0/24"
    18          autoscaling_groups:
    19            - name: alpha
    20              group_size: "3"
    21              machine_type: '{{repl ConfigOption "machine_source" }}'
    22            - name: bravo
    23              group_size: "1"
    24              machine_type: m5.4xlarge
    25      - inline:
    26          dest: install.sh
    27          contents: |
    28                    #!/bin/bash
    29                    echo "run:"
    30                    echo "terraform apply -f new/new_vpc.tf"
    31                    echo "kubectl apply -f kube.yaml --kubeconfig {{repl AmazonEKS (ConfigOption "name_source") }}"
    32          mode: 0777
    33      - inline:
    34          dest: kube.yaml
    35          contents: |
    36                    this is not a valid kubernetes yaml
    37          mode: 0777
    38  
    39  config:
    40    v1:
    41    - name: template_sources
    42      title: Template Function Sources
    43      description: testing testing 123
    44      items:
    45      - name: name_source
    46        title: Name Source
    47        default: cluster-name-template
    48        type: text
    49      - name: cidr_source
    50        title: CIDR Source
    51        default: "10.0.0.0/16"
    52        type: text
    53      - name: zone_source
    54        title: Zone Source
    55        default: "us-west-2a"
    56        type: text
    57      - name: machine_source
    58        title: Machine Source
    59        default: m5.2xlarge
    60        type: text
    61  
    62  lifecycle:
    63    v1:
    64      - message:
    65         contents: "hi"
    66      - render: {}
    67      - message:
    68         contents: "bye"