terraform/website/source/layouts
danielcbright 8921e10d71 Added softlayer virtual guest and ssh keys functionality:
Here is an example that will setup the following:
+ An SSH key resource.
+ A virtual server resource that uses an existing SSH key.
+ A virtual server resource using an existing SSH key and a Terraform managed SSH key (created as "test_key_1" in the example below).

(create this as sl.tf and run terraform commands from this directory):
```hcl
provider "softlayer" {
    username = ""
    api_key = ""
}

resource "softlayer_ssh_key" "test_key_1" {
    name = "test_key_1"
    public_key = "${file(\"~/.ssh/id_rsa_test_key_1.pub\")}"
    # Windows Example:
    # public_key = "${file(\"C:\ssh\keys\path\id_rsa_test_key_1.pub\")}"
}

resource "softlayer_virtual_guest" "my_server_1" {
    name = "my_server_1"
    domain = "example.com"
    ssh_keys = ["123456"]
    image = "DEBIAN_7_64"
    region = "ams01"
    public_network_speed = 10
    cpu = 1
    ram = 1024
}

resource "softlayer_virtual_guest" "my_server_2" {
    name = "my_server_2"
    domain = "example.com"
    ssh_keys = ["123456", "${softlayer_ssh_key.test_key_1.id}"]
    image = "CENTOS_6_64"
    region = "ams01"
    public_network_speed = 10
    cpu = 1
    ram = 1024
}
```

You'll need to provide your SoftLayer username and API key,
so that Terraform can connect. If you don't want to put
credentials in your configuration file, you can leave them
out:

```
provider "softlayer" {}
```

...and instead set these environment variables:

- **SOFTLAYER_USERNAME**: Your SoftLayer username
- **SOFTLAYER_API_KEY**: Your API key
2016-05-03 15:58:58 -05: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
atlas.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
aws.erb provider/aws: Add support for api_gateway_account (#6321) 2016-04-27 13:08:59 +01:00
azure.erb
azurerm.erb documentation: Reshuffle the AzureRM provider documentation headings 2016-03-22 14:17:36 +00: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
consul.erb website: Add consul_key_prefix link to Consul provider navbar 2016-04-22 14:07:35 -07:00
datadog.erb Add Datadog doco. 2016-02-22 15:04:29 -05:00
digitalocean.erb
dme.erb
dnsimple.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
docker.erb provider/docker: Add missing sidebar doc link 2016-01-15 21:36:17 +00:00
docs.erb Added softlayer virtual guest and ssh keys functionality: 2016-05-03 15:58:58 -05:00
downloads.erb
dyn.erb
fastly.erb provider/fastly: Add Fastly Provider, ServiceV1 resource 2016-03-23 14:53:50 -05:00
github.erb Capitalize the H in GitHub 2016-04-07 10:26:01 -04:00
google.erb Correct markdown for google_compute_instance_group and attach to index 2016-03-21 10:29:59 -07:00
heroku.erb Do matching in sidebar_current via regex or equal sign 2015-05-08 10:40:51 +01:00
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
mailgun.erb
mysql.erb
openstack.erb provider/openstack: Neutron security group resources 2016-05-03 09:18:48 +00:00
packet.erb
postgresql.erb
powerdns.erb provider/powerdns: Add site documentation 2016-01-28 10:10:46 -05:00
remotestate.erb docs: Create new section for remote state backends 2016-01-18 08:08:19 +00:00
rundeck.erb
softlayer.erb Added softlayer virtual guest and ssh keys functionality: 2016-05-03 15:58:58 -05:00
statuscake.erb
template.erb docs: cloudinit_config - correct syntax and add sidebar link 2016-01-08 13:34:16 -06:00
terraform.erb
tls.erb docs: add locally_signed_cert to tls sidenav 2016-01-27 08:13:59 -05: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
vsphere.erb vsphere_folder resource missing in vsphere provider layout 2016-03-09 23:16:12 +00:00