Skip to content

need to check that file provisioner do work #1

Description

@sebgoa

I am struggling getting the file provisioner to work, it seems the SSH connection fails:

resource "exoscale_compute" "master" {

    name = "master"
    diskSize = 10
    template = "${lookup(var.master_template, var.zone)}"
    zone = "${var.zone}"
    size = "${var.master_instance_type}"
    keypair = "${var.keypair}"
    securitygroups = ["${exoscale_securitygroup.k8s.name}"]

    connection {
        user = "root"
        private_key = "${file("${var.key_path}")}"
    }

    provisioner "file" {
        source = "${path.module}/scripts/etcd"
        destination = "/tmp/etcd"
    }
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions