terraform/website/source/layouts
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
..
svg annoucnement bnr 2016-04-11 13:02:15 -05:00
_announcement-bnr.erb annoucnement bnr 2016-04-11 13:02:15 -05:00
_footer.erb Track enhanced links 2016-05-02 15:56:12 -04:00
_header.erb annoucnement bnr 2016-04-11 13:02:15 -05:00
_meta.erb annoucnement bnr 2016-04-11 13:02:15 -05:00
_sidebar.erb fix incorrect link 2015-11-06 15:45:02 -08:00
atlas.erb provider/atlas: Add a Atlas Artifact Data Source (#7419) 2016-07-01 10:29:53 -05:00
aws.erb docs/aws: Fix wrong resource name in sidebar (#7606) 2016-07-12 16:23:35 +01:00
azure.erb
azurerm.erb provider/azurerm: Add `azurerm_virtual_machine_scale_set` resource (#6711) 2016-06-11 00:37:14 +02:00
chef.erb fix typo in chef docs sidebar 2016-01-08 15:28:51 -05:00
clc.erb snapshot from CenturyLinkLabs/terraform-provider-clc 2016-03-21 08:58:37 -07:00
cloudflare.erb
cloudstack.erb Make the CloudStack provider more inline with the other provider 2016-04-04 22:16:15 +02:00
cobbler.erb provider/cobbler: Cobbler Provider 2016-04-16 08:54:59 -05:00
commands-state.erb website: document state mv 2016-05-10 13:25:42 -07:00
consul.erb website: Add consul_key_prefix link to Consul provider navbar 2016-04-22 14:07:35 -07:00
datadog.erb provider/datadog: add timeboard resource. upgrade vendored go-datadog-api to support read-only option. (#6900) 2016-06-15 18:44:49 +02:00
digitalocean.erb docs: Add digitalocean_tag resource to the sidebar (#7629) 2016-07-13 20:48:00 +01:00
dme.erb
dnsimple.erb
docker.erb provider/docker: Add missing sidebar doc link 2016-01-15 21:36:17 +00:00
docs.erb Add scaleway provider (#7331) 2016-07-13 21:03:41 +01:00
downloads.erb
dyn.erb
fastly.erb provider/fastly: Add Fastly Provider, ServiceV1 resource 2016-03-23 14:53:50 -05:00
github.erb +github_repository_collaborator (#6861) 2016-06-02 01:06:35 +01:00
google.erb Correct markdown for google_compute_instance_group and attach to index 2016-03-21 10:29:59 -07:00
grafana.erb Grafana Provider, with Data Source and Dashboard resources (#6206) 2016-05-20 10:20:17 +01:00
heroku.erb
influxdb.erb Docs for InfluxDB provider and database resource 2016-03-20 14:53:34 -05:00
inner.erb
intro.erb
layout.erb
librato.erb provider/librato: Add Librato provider 2016-04-29 14:49:55 -05:00
logentries.erb provider/logentries: Implementing logentries provider (#7067) 2016-07-12 14:14:39 +01:00
mailgun.erb
mysql.erb mysql provider and mysql_database resource. 2015-12-16 17:59:35 -08:00
openstack.erb OpenStack LBaaS v2 Support 2016-06-09 13:19:52 -07:00
packet.erb
postgresql.erb postgresql provider with "database" and "role" resources 2015-12-03 23:44:20 -08:00
powerdns.erb provider/powerdns: Add site documentation 2016-01-28 10:10:46 -05:00
random.erb website: docs for the "random" provider 2016-05-14 16:49:10 -07:00
remotestate.erb remote: Rename mas to azure (#7114) 2016-06-10 20:04:40 +02:00
rundeck.erb
scaleway.erb Add scaleway provider (#7331) 2016-07-13 21:03:41 +01:00
softlayer.erb Added softlayer virtual guest and ssh keys functionality: 2016-05-03 15:58:58 -05:00
statuscake.erb Adding some documentation for the StatusCake provider 2015-11-30 10:44:21 +00:00
template.erb provider/template: convert resources to data sources 2016-07-08 17:11:17 +01:00
terraform.erb provider/terraform: remote state resource becomes a data source 2016-05-14 08:26:36 -07:00
tls.erb Convert tls_cert_request to be a data source 2016-07-02 08:07:53 -07:00
triton.erb Fix spacing in Triton resources sidebar. (#6240) 2016-04-19 17:53:51 +01:00
ultradns.erb UltraDNS Provider 2016-03-20 12:10:59 -05:00
vcd.erb Minor doc updates 2015-11-11 07:43:36 +00:00
vsphere.erb fix sidebar + small rewordings (#6782) 2016-05-19 23:25:47 +01:00