AWS specific

  • aws_access_key - AWS access key (opscontrol_var: "aws_access_key")
  • aws_secret_key - AWS secret key (opscontrol_var: "aws_secret_key")
  • aws_region - AWS region (opscontrol_var: "aws_region")
  • aws_account_id - AWS account id (opscontrol_var: "aws_account_id")

  • azs - AWS availability zones (ex. "[eu-west-1b, eu-west-1c]")

  • opscontrol_cidr - OpsControl VPC CIDR (opscontrol_var: "opscontrol_cidr")

  • opscontrol_vpc_id - OpsControl VPC id (opscontrol_var: "opscontrol_vpc_id")
  • opscontrol_telemetry_route_table_id - Telemetry route table id (opscontrol_var: "opscontrol_telemetry_route_table_id")
  • opscontrol_dmz_route_table_id - DMZ route table id (opscontrol_var: "opscontrol_dmz_route_table_id")

  • cf_certificate_arn - ARN for CF Load Balancer certificate

  • k8s_certificate_arn - ARN for K8s Load Balancer certificate
{
    "source_type": "package",
    "package_bucket": "cloudboostr-build-packages",
    "package_target_cloud": "aws",
    "package_version": "latest",

    "pipelines": [
        {
            "name": "deploy_bosh",
            "file": "ci/pipelines/aws/deploy-pipeline.yml",
            "vars": []
        },
        {
            "name": "destroy_env",
            "file": "ci/pipelines/aws/destroy-pipeline.yml",
            "vars": []
        },
        {
            "name": "backup_bosh",
            "file": "ci/pipelines/backup-pipeline.yml",
            "vars": [
                {"name": "timer_interval", "value": "24h"}
            ]
        },
        {
            "name": "restore_latest_bosh",
            "file": "ci/pipelines/restore-latest-pipeline.yml",
            "vars": []
        },
        {
            "name": "restore_custom_bosh",
            "file": "ci/pipelines/restore-custom-pipeline.yml",
            "vars": []
        }
    ],

    "vars": [
        {"name": "aws_access_key", "opscontrol_var": "aws_access_key"},
        {"name": "aws_secret_key", "opscontrol_var": "aws_secret_key"},
        {"name": "aws_region", "opscontrol_var": "aws_region"},
        {"name": "aws_account_id", "opscontrol_var": "aws_account_id"},

        {"name": "azs", "value": "[eu-west-1b, eu-west-1c]"},

        {"name": "opscontrol_cidr", "opscontrol_var": "opscontrol_cidr"},
        {"name": "opscontrol_vpc_id", "opscontrol_var": "opscontrol_vpc_id"},
        {"name": "opscontrol_telemetry_route_table_id", "opscontrol_var": "opscontrol_telemetry_route_table_id"},
        {"name": "opscontrol_dmz_route_table_id", "opscontrol_var": "opscontrol_dmz_route_table_id"},

        {"name": "network_cidr", "value": "10.90.0.0/16"},  

        {"name": "mgmt_subnet_cidr", "value": "10.90.1.0/26"},
        {"name": "mgmt_gateway_ip", "value": "10.90.1.1"},
        {"name": "mgmt_reserved_ips", "value": "10.90.1.2-10.90.1.10"},

        {"name": "dmz_subnet_cidr", "value": "10.90.2.0/26"},
        {"name": "dmz_gateway_ip", "value": "10.90.2.1"},
        {"name": "dmz_reserved_ips", "value": "10.90.2.2-10.90.2.20"},

        {"name": "dns_subnet_cidr", "value": "10.90.2.128/26"},
        {"name": "dns_gateway_ip", "value": "10.90.2.129"},
        {"name": "dns_reserved_ips", "value": "10.90.2.130-10.90.2.140"},

        {"name": "services_subnet_cidr", "value": "10.90.4.0/22"},
        {"name": "services_gateway_ip", "value": "10.90.4.1"},
        {"name": "services_reserved_ips", "value": "10.90.4.2-10.90.4.20"},

        {"name": "cf_subnet_cidr", "value": "10.90.16.0/22"},
        {"name": "cf_gateway_ip", "value": "10.90.16.1"},
        {"name": "cf_reserved_ips", "value": "10.90.16.2-10.90.16.20"},

        {"name": "k8s_subnet_cidr", "value": "10.90.32.0/22"},
        {"name": "k8s_gateway_ip", "value": "10.90.32.1"},
        {"name": "k8s_reserved_ips", "value": "10.90.32.2-10.90.32.20"},

        {"name": "k8s_public_subnet_cidr", "value": "10.90.48.0/22"},

        {"name": "jumpbox_instance_type", "value": "t2.small"},
        {"name": "jumpbox_whitelist", "value": "[0.0.0.0/0]"},

        {"name": "bosh_private_ip", "value": "10.90.1.6"},
        {"name": "bosh_instance_type", "value": "t2.small"},
        {"name": "bosh_director_name", "value": "bosh"},

        {"name": "cf_certificate_arn", "value": "arn:aws:acm:eu-west-1:XXXXXXXXXXXX:certificate/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},
        {"name": "k8s_certificate_arn", "value": "arn:aws:acm:eu-west-1:XXXXXXXXXXXX:certificate/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"},

        {"name": "git_private_key", "opscontrol_var": "git_private_key"},
        {"name": "jumpbox_public_key", "opscontrol_var": "jumpbox_public_key"},
        {"name": "jumpbox_private_key", "opscontrol_var": "jumpbox_private_key"},
        {"name": "bosh_private_key", "opscontrol_var": "bosh_private_key"},
        {"name": "bosh_public_key", "opscontrol_var": "bosh_public_key"},

        {"name": "ssh_allowed_hosts", "opscontrol_var": "ssh_allowed_hosts"}
    ]
}