FleexSecurity/fleex

Replace viper refs and use json config

xm1k3 opened this issue · 0 comments

xm1k3 commented

config example

{
    "settings": {
        "provider": "digitalocean"
    },
    "ssh_keys": {
        "public_file": "id_rsa.pub",
        "private_file": "id_rsa"
    },
    "providers": {
        "digitalocean": {
            "token": "YOUR_DIGITALOCEAN_TOKEN",
            "region": "fra1",
            "size": "s-1vcpu-1gb",
            "image": "12345678",
            "port": 2266,
            "username": "op",
            "password": "USER_PASSWORD",
            "tags": [
                "vps",
                "fleex"
            ]
        },
        "linode": {
            "token": "YOUR_LINODE_TOKEN",
            "region": "eu-central",
            "size": "g6-nanode-1",
            "image": "private/12345678",
            "port": 2266,
            "username": "op",
            "password": "USER_PASSWORD"
        },
        "vultr": {
            "token": "YOUR_VULTR_TOKEN",
            "region": "atl",
            "size": "vc2-1c-1gb",
            "image": "1a2b3c4d-1a2b-1a2b-1a2b-1a2b3c4d5e",
            "port": 2266,
            "username": "op",
            "password": "USER_PASSWORD"
        }
    },
    "custom_vms": [
        {
            "provider": "aws",
            "instance_id": "i-customid",
            "public_ip": "1.2.3.4",
            "ssh_port": 22,
            "username": "ec2-user",
            "password": "USER_PASSWORD",
            "key_path": "/path/to/your/private-key.pem",
            "tags": [
                "web-server",
                "production"
            ]
        },
        {
            "provider": "utm",
            "instance_id": "i-customid2",
            "public_ip": "1.2.3.4",
            "ssh_port": 22,
            "username": "user",
            "password": "USER_PASSWORD",
            "key_path": "/path/to/your/private-key.pem",
            "tags": [
                "test",
                "production"
            ]
        },
        {
            "provider": "virtualbox",
            "instance_id": "i-customid3",
            "public_ip": "1.2.3.4",
            "ssh_port": 22,
            "username": "user",
            "password": "USER_PASSWORD",
            "key_path": "/path/to/your/private-key.pem",
            "tags": [
                "staging"
            ]
        }
    ]
}