terraform/vendor/github.com
Raphael Randschau 9081cabd6e Add scaleway provider (#7331)
* Add scaleway provider

this PR allows the entire scaleway stack to be managed with terraform

example usage looks like this:

```
provider "scaleway" {
  api_key = "snap"
  organization = "snip"
}

resource "scaleway_ip" "base" {
  server = "${scaleway_server.base.id}"
}

resource "scaleway_server" "base" {
  name = "test"
  # ubuntu 14.04
  image = "aecaed73-51a5-4439-a127-6d8229847145"
  type = "C2S"
}

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

resource "scaleway_volume_attachment" "test" {
  server = "${scaleway_server.base.id}"
  volume = "${scaleway_volume.test.id}"
}

resource "scaleway_security_group" "base" {
  name = "public"
  description = "public gateway"
}

resource "scaleway_security_group_rule" "http-ingress" {
  security_group = "${scaleway_security_group.base.id}"

  action = "accept"
  direction = "inbound"
  ip_range = "0.0.0.0/0"
  protocol = "TCP"
  port = 80
}

resource "scaleway_security_group_rule" "http-egress" {
  security_group = "${scaleway_security_group.base.id}"

  action = "accept"
  direction = "outbound"
  ip_range = "0.0.0.0/0"
  protocol = "TCP"
  port = 80
}
```

Note that volume attachments require the server to be stopped, which can lead to
downtimes of you attach new volumes to already used servers

* Update IP read to handle 404 gracefully

* Read back resource on update

* Ensure IP detachment works as expected

Sadly this is not part of the official scaleway api just yet

* Adjust detachIP helper

based on feedback from @QuentinPerez in
https://github.com/scaleway/scaleway-cli/pull/378

* Cleanup documentation

* Rename api_key to access_key

following @stack72 suggestion and rename the provider api_key for more clarity

* Make tests less chatty by using custom logger
2016-07-13 21:03:41 +01:00
..
Azure provider/azurerm: Bump azure-sdk-for-go to 3.0.0-beta (#7420) 2016-06-30 15:36:08 +01:00
CenturyLinkCloud/clc-sdk [clc] pull latest sdk 2016-05-10 10:36:52 -07:00
DreamItGetIT/statuscake Fix up deps 2016-02-22 10:21:33 -08:00
Ensighten/udnssdk UltraDNS Provider 2016-03-20 12:10:59 -05:00
Unknwon Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
ajg/form godeps: fixup missing deps 2016-05-04 10:54:22 -05:00
apparentlymart Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
armon vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
aws/aws-sdk-go SimpleDB domain resource (#7600) 2016-07-12 12:55:58 +01:00
bgentry/speakeasy Fix up deps 2016-02-22 10:21:33 -08:00
cenkalti/backoff fix up some other badly saved deps. 2016-02-24 14:27:26 -08:00
cloudflare/cloudflare-go provider/cloudflare: Swap out mitchellh fork for upstream cloudflare-go 2016-06-06 14:48:05 -05:00
coreos/etcd Fix up deps 2016-02-22 10:21:33 -08:00
cyberdelia/heroku-go vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
davecgh/go-spew vendor: add go-spew 2016-04-20 09:38:27 -07:00
dgrijalva/jwt-go provider/azurerm: Bump azure-sdk-for-go to 3.0.0-beta (#7420) 2016-06-30 15:36:08 +01:00
digitalocean/godo digitalocean tag support (#7500) 2016-07-11 12:09:06 +01:00
dylanmei vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
fatih/structs vendor: Capturing dependencies for cobbler provider 2016-04-16 08:55:45 -05:00
fsouza/go-dockerclient deps: Update github.com/fsouza/go-dockerclient 2016-04-10 17:16:10 -05:00
go-chef/chef Fix up deps 2016-02-22 10:21:33 -08:00
go-ini/ini vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
golang/protobuf Fix up deps 2016-02-22 10:21:33 -08:00
google Add google/github-go dependency. 2016-03-08 23:06:30 +01:00
gosimple/slug Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
grafana/grafana Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
hashicorp deps: Update github.com/hashicorp/hil 2016-07-11 17:28:11 -06:00
henrikhodne/go-librato provider/librato: Add Librato provider 2016-04-29 14:49:55 -05:00
hmrc/vmware-govcd Fix up deps 2016-02-22 10:21:33 -08:00
imdario/mergo vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
influxdata/influxdb deps: Add missing influx libraries to Godeps.json 2016-03-23 10:07:37 -07:00
jen20/riviera provider/azurerm: `azurerm_dns_zone` now returns `name_servers` (#7434) 2016-07-01 10:26:01 +01:00
jmespath/go-jmespath Fix up deps 2016-02-22 10:21:33 -08:00
joyent provider/triton: add machine domain names (#7149) 2016-06-26 22:18:17 +01:00
jtopjian/cobblerclient vendor: Capturing dependencies for cobbler provider 2016-04-16 08:55:45 -05:00
kardianos/osext vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
kolo/xmlrpc vendor: Capturing dependencies for cobbler provider 2016-04-16 08:55:45 -05:00
lib/pq Fix up deps 2016-02-22 10:21:33 -08:00
logentries/le_goclient provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
lusis/go-artifactory Fix up deps 2016-02-22 10:21:33 -08:00
macaron-contrib/session Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
masterzen vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
mattn core: Fix console colors on Windows 2016-03-18 17:10:20 +00:00
maximilien/softlayer-go godeps: fixup missing deps 2016-05-04 10:54:22 -05:00
mitchellh provider/cloudflare: Swap out mitchellh fork for upstream cloudflare-go 2016-06-06 14:48:05 -05:00
moul/anonuuid Add scaleway provider (#7331) 2016-07-13 21:03:41 +01:00
nesv/go-dynect Update go-dynect to prevent log prefix clobbering 2016-06-29 09:45:26 -05:00
nu7hatch/gouuid vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
packer-community/winrmcp vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
packethost/packngo Vendor all dependencies w/ Godep 2016-01-29 15:08:48 -06:00
pborman/uuid vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
pearkes godeps: fixup missing deps 2016-05-04 10:54:22 -05:00
pkg/errors Add new cloudflare lib 2016-05-03 09:54:47 -07:00
rackspace/gophercloud vendor: Updating Gophercloud Deps 2016-06-27 04:04:37 +00:00
rainycape/unidecode Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
renstrom/fuzzysearch Add scaleway provider (#7331) 2016-07-13 21:03:41 +01:00
ryanuber/columnize deps: vendor columnize 2016-05-10 14:14:48 -04:00
satori/go.uuid vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
scaleway/scaleway-cli Add scaleway provider (#7331) 2016-07-13 21:03:41 +01:00
sethvargo/go-fastly provider/fastly: Add support for Conditions for Fastly Services (#6481) 2016-05-09 14:08:13 -04:00
soniah/dnsmadeeasy Fix up deps 2016-02-22 10:21:33 -08:00
sthulb/mime/multipart vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
tent/http-link-go vendor: Recapture deps w/ latest godep 2016-02-10 10:45:16 -06:00
vmware/govmomi vendor: Update dependency vmware/govmomi to v0.6.2 2016-05-13 10:07:09 -07:00
xanzy Update `go-cloudstack` dependency 2016-05-18 14:37:34 +02:00
ziutek/mymysql Fix up deps 2016-02-22 10:21:33 -08:00
zorkian/go-datadog-api provider/datadog: add timeboard resource. upgrade vendored go-datadog-api to support read-only option. (#6900) 2016-06-15 18:44:49 +02:00