Commit Graph

10090 Commits

Author SHA1 Message Date
Sargurunathan Mohan a5825f907b Fix launch_configuration error when using ebs which is encrypted 2016-05-03 16:19:54 -05:00
Clint 175f7bb436 provider/aws: Bump Cloudfront dependency to 1.1.15, matching the rest of AWS (#6465) 2016-05-03 16:16:40 -05:00
James Nugent cce42eebf0 Update CHANGELOG.md 2016-05-03 16:13:14 -05:00
James Nugent 309491aa7f Merge branch 'TheWeatherCompany-feature/softlayer-virtual-guest' 2016-05-03 16:05:28 -05:00
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
Mitchell Hashimoto 398fad4277 Update CHANGELOG.md 2016-05-03 13:28:33 -07:00
Mitchell Hashimoto d5af110055 Merge pull request #6449 from hashicorp/b-cloudflare-apex
providers/cloudflare: record can manage apex records
2016-05-03 13:27:43 -07:00
Mitchell Hashimoto 6099d8277c
Add new cloudflare lib 2016-05-03 09:54:47 -07:00
Mitchell Hashimoto 109b3f5198
providers/cloudflare: use cloudflare-go
The most improtant change is using record IDs as identifiers.
2016-05-03 09:48:50 -07:00
Mitchell Hashimoto a7311fa68f
providers/cloudflare: record can manage apex records
Apex records must be created by specifying "@" as the name, but this
caused Refresh and Delete errors.
2016-05-03 09:48:50 -07:00
Paul Stack cf0b2644a3 Update CHANGELOG.md 2016-05-03 18:28:18 +02:00
Paul Stack 501c05d0f7 provider/vsphere: IPv6 support. (#6457)
IPv6 support added.

We support 1 IPv6 address per interface. It seems like the vSphere SDK supports more than one, since it's provided as a list.
I can change it to support more than one address. I decided to stick with one for now since that's how the configuration parameters
had been set up by other developers.

The global gateway configuration option has been removed. Instead the user should specify a gateway on NIC level (ipv4_gateway and ipv6_gateway).

For now, the global gateway will be used as a fallback for every NICs ipv4_gateway.
The global gateway configuration option has been marked as deprecated.
2016-05-03 18:27:24 +02:00
Paul Stack ab9d78f99b Update CHANGELOG.md 2016-05-03 17:59:31 +02:00
thetuxkeeper bb73c74414 provider/vsphere: added update function with support for vcpu and memory (#6356)
* added update function with support for vcpu and memory

* waiting for vmware tools redundant with WaitForIP

* proper error handling of PowerOn task

* added test cases for update memory and vcpu

* reboot flag
2016-05-03 17:58:33 +02:00
Cameron Stokes b005709ed1 Recommend bucket versioning for S3 remote state. (#6456) 2016-05-03 17:54:53 +02:00
Joe Topjian 181463a5af Update CHANGELOG.md 2016-05-03 08:20:33 -06:00
Joe Topjian 5aa5e88abb Update CHANGELOG.md 2016-05-03 08:19:37 -06:00
Joe Topjian 8f2b6e8127 Merge pull request #6410 from cristicalin/neutron_security_groups_v1
provider/openstack: implement neutron security groups and rules
2016-05-03 08:18:41 -06:00
Cristian Calin 6fe82696d2 provider/openstack: Neutron security group resources
this implements two new resource types:
* openstack_networking_secgroup_v2 - create a neutron security group
* openstack_networking_secgroup_rule_v2 - create a newutron security
  group rule
Unlike their nova counterparts the neutron security groups allow a user
to specify the target tenant_id allowing a cloud admin to create per
tenant resources.
2016-05-03 09:18:48 +00:00
Cristian Calin 00c953f876 vendor: Updating Gophercloud dependencies
Import networking/v2/extensions/security/groups and
networking/v2/extensions/security/rules from gophercloud.

These will be used by two new resouces openstack_networking_secgroup_v2 and
openstack_networking_secgroup_rule_v2.
2016-05-03 08:03:15 +00:00
Clint 846561964e Update CHANGELOG.md 2016-05-02 15:37:17 -05:00
Clint d5f0fc22fd provider/aws: Improve error handling in IAM Server Certificates (#6442)
* provider/aws: Improve error handling in IAM Server Certificates

* rename test, add additional empty check
2016-05-02 15:36:50 -05:00
Paul Stack fa0c629450 Update CHANGELOG.md 2016-05-02 22:27:37 +02:00
Davide Agnello e086f6d754 Adding File Resource for vSphere provider
* Adding File Resource for vSphere provider

Allows for file upload to vSphere at specified location.  This also
includes update for moving or renaming of file resources.

* Ensuring required parameters are provided
2016-05-02 22:25:35 +02:00
Paul Hinze 1c02bf2a7b Merge pull request #6443 from hashicorp/sethvargo/elink
Track enhanced links
2016-05-02 15:03:13 -05:00
Seth Vargo 74949f9554
Track enhanced links 2016-05-02 15:56:12 -04:00
Clint fca7a5d2f5 Update CHANGELOG.md 2016-05-02 09:45:46 -05:00
Clint c2f7a0cc60 provider/aws: Fix issue replacing Network ACL Relationship if Subnet has already (#6421) 2016-05-02 09:45:11 -05:00
James Nugent 06e5085a92 Update CHANGELOG.md 2016-04-29 19:02:39 -05:00
James Nugent ac88c18cac Merge pull request #6424 from hashicorp/b-docker-empty-command-crash
provider/docker: don't crash with empty commands
2016-04-29 19:01:11 -05:00
James Nugent 6913754191 provider/docker: don't crash with empty commands
If any of the entries in `commands` on `docker_container` resources was
empty, the assertion to string panic'd. Since we can't use ValidateFunc
on list elements, we can only really check this at apply time. If any
value is nil (resolves to empty string during conversion), we fail with
an error prior to creating the container.

Fixes #6409.
2016-04-29 18:54:45 -05:00
James Nugent 7a49c2dfdd Update CHANGELOG.md 2016-04-29 18:54:23 -05:00
James Nugent aba5049bcd Merge pull request #6403 from Ticketmaster/BROKEN_MASTER
Fixing the broken Test with Master branch
2016-04-29 17:36:07 -05:00
James Nugent 0a679ef991 Merge branch 'henrikhodne-librato-provider' 2016-04-29 16:43:00 -05:00
James Nugent 66e7a0bfbb provider/librato: Use metric name created by agent
This allows the acceptance tests for librato to pass.
2016-04-29 16:27:51 -05:00
Henrik Hodne 8f07a2d6d5 provider/librato: Add Librato provider 2016-04-29 14:49:55 -05:00
James Nugent 3e06a75926 Update CHANGELOG.md 2016-04-29 14:07:41 -05:00
James Nugent 43837fd438 Merge pull request #6418 from asteris-llc/f-triton-nic
provider/triton: Add NICs to triton_machine resources
2016-04-29 14:06:00 -05:00
James Nugent 0f3237a91b Merge pull request #6383 from Ticketmaster/aws-tests-with-token
Allow running tests when AWS_PROFILE is set, needed for STS users
2016-04-29 13:26:07 -05:00
James Nugent 90ad5be6be Update CHANGELOG.md 2016-04-29 13:07:17 -05:00
James Nugent 047736eb3b provider/vsphere: Reword customizations docs 2016-04-29 13:06:12 -05:00
James Nugent 9c85c2ed47 Merge pull request #6355 from godmodelabs/vsphere-disable-customization
provider/vsphere: Add setting to skip customization
2016-04-29 13:06:02 -05:00
James Nugent fc70b471dd Merge pull request #6420 from eloycoto/master
Fix #3562 provider/vsphere Added doc for customizations problems.
2016-04-29 12:59:50 -05:00
Andy Chan cd69404fbc Fixing the broken test 2016-04-29 10:11:42 -07:00
Eloy Coto 7367eaf7be Fix #3562 provider/vsphere Added doc for customizations problems. 2016-04-29 17:03:06 +01:00
Brian Hicks a4eb8452eb
remove debug statements from test 2016-04-29 10:22:49 -05:00
Mårten Gustafson 5b7f12ecd7 Tweak docs to properly document .tfvars format (#6415)
As reported and described in hashicorp/terraform#3292
2016-04-29 14:06:36 +01:00
Joe Topjian c61c0216e1 provider/openstack: Instance Doc Examples (#6411)
This commit adds several example uses of the
openstack_compute_instance_v2 resource. It also makes a clarification
about booting from volumes and image ids/names.
2016-04-29 09:49:45 +01:00
Paul Stack 0238925511 Update CHANGELOG.md 2016-04-29 00:46:03 +01:00
dkalleg 6e5da78f79 Fixing hard disk path when specifying only size (#6400)
We were passing in a disk path of `[datastore] `, which the createDisk
call would create a file named `.vmdk` on the datastore, which is not
the expected behavior.  This make sure that if the user did not pass in
a vmdk path, that we call CreateDisk with an empty string like it
expects.
2016-04-29 00:44:30 +01:00