Files
opentf/website/source/docs/providers/scaleway/r/volume.html.markdown
Ollie Ford ed2b959f7e Fix contradiction in terms with provider documentation (#10815) (#10874)
* Remove contradiction with Scaleway documentation

The parameters previously termed by Terraform:

1. Organization
2. Access key

Are referred to, respectively, by Scaleway [0] as:

1. Access key
2. Token

which is a confusing contradiction for a user.

Since Scaleway terms (1) both 'access key' [0] and 'organization ID' [1],
@nicolai86 suggested keeping the latter as already used, but changing (2) for
'token'; removing the contradiction.

This commit thus changes the parameters to:

1. Organization
2. Token

Closes #10815.

[0] - https://cloud.scaleway.com/#/credentials
[1] - https://www.scaleway.com/docs/retrieve-my-organization-id-throught-the-api

* Update docs to reflect Scaleway offering x86

Scaleway now provides x86 servers [0] as well as ARM.

This commit removes 'ARM' from various references suggesting that might be the
only option.

[0] - https://blog.online.net/2016/03/08/c2-insanely-affordable-x64-servers/
2017-01-17 12:02:55 +00:00

1.0 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
scaleway Scaleway: volume docs-scaleway-resource-volume Manages Scaleway Volumes.

scaleway_volume

Provides volumes. This allows volumes to be created, updated and deleted. For additional details please refer to API documentation.

Example Usage

resource "scaleway_server" "test" {
  name = "test"
  image = "aecaed73-51a5-4439-a127-6d8229847145"
  type = "C2S"
  volumes = ["${scaleway_volume.test.id}"]
}

resource "scaleway_volume" "test" {
  name = "test"
  size_in_gb = 20
  type = "l_ssd"
}

Argument Reference

The following arguments are supported:

  • name - (Required) name of volume
  • size_in_gb - (Required) size of the volume in GB
  • type - (Required) type of volume

Attributes Reference

The following attributes are exported:

  • id - id of the new resource

Import

Instances can be imported using the id, e.g.

$ terraform import scaleway_volume.test 5faef9cd-ea9b-4a63-9171-9e26bec03dbc