» scaleway_instance_server

Gets information about an instance server.

» Example Usage

# Get info by server name
data "scaleway_instance_server" "my_key" {
  name  = "my-server-name"
}

# Get info by server id
data "scaleway_instance_server" "my_key" {
  server_id = "11111111-1111-1111-1111-111111111111"
}

» Argument Reference

  • name - (Optional) The server name. Only one of name and server_id should be specified.

  • server_id - (Optional) The server id. Only one of name and server_id should be specified.

  • zone - (Defaults to provider zone) The zone in which the server exists.

» Attributes Reference

In addition to all above arguments, the following attributes are exported: