Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace viper refs and use json config #37

Closed
xm1k3 opened this issue Sep 19, 2023 · 0 comments · Fixed by #36
Closed

Replace viper refs and use json config #37

xm1k3 opened this issue Sep 19, 2023 · 0 comments · Fixed by #36
Assignees
Labels
feature New feature or request

Comments

@xm1k3
Copy link
Member

xm1k3 commented Sep 19, 2023

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"
            ]
        }
    ]
}
@xm1k3 xm1k3 self-assigned this Sep 19, 2023
@xm1k3 xm1k3 added the feature New feature or request label Sep 19, 2023
@xm1k3 xm1k3 linked a pull request Sep 19, 2023 that will close this issue
@xm1k3 xm1k3 closed this as completed in #36 Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant