Commit Graph

7502 Commits

Author SHA1 Message Date
Radek Simko aae8fc8494 provider/aws: Add acceptance test for bugfix for #2694 2015-11-14 10:34:17 +00:00
Radek Simko 7f95311491 Update CHANGELOG.md 2015-11-14 09:37:01 +00:00
Radek Simko d5ae5ba062 Merge pull request #3910 from hashicorp/phinze/s3-object-homedir-expand
provider/aws: homedir expand in s3 object source
2015-11-14 09:35:09 +00:00
Radek Simko 432cab51a7 Merge pull request #3917 from grothja/patch-1
Correct argument reference for `certificate`
2015-11-14 09:29:13 +00:00
Radek Simko 1e3cc7b33f helper: Remove url helper (moved to go-getter) 2015-11-14 08:21:18 +00:00
Radek Simko e7c88eab35 openstack: fix go vet error (bool modifier is %t) 2015-11-14 08:19:22 +00:00
Joe Topjian 19fc2193f4 Merge pull request #3904 from jtopjian/jtopjian-openstack-port-attr-cleanup
provider/openstack: Make Networking Port attributes more intuitive
2015-11-13 20:15:29 -07:00
Joe Topjian 79a46a2bcb Update CHANGELOG.md 2015-11-13 20:15:09 -07:00
Joe Topjian f2a5064538 Merge pull request #3857 from jtopjian/jtopjian-openstack-secgroup-rule-fix2
provider/openstack: Security Group Rule fixes
2015-11-13 20:13:46 -07:00
Jonathan Groth 8491f0883d Correct argument reference for `certificate` 2015-11-13 17:13:20 -05:00
Radek Simko 0822776de0 provider/aws: If ecs_service isn't found during Read, delete it 2015-11-13 21:45:21 +00:00
Radek Simko d9a5de7f7d provider/aws: Prevent crashing when deleting ecs_service which is gone
- fixes https://github.com/hashicorp/terraform/issues/3868
2015-11-13 21:42:29 +00:00
James Nugent 965e598437 Update CHANGELOG.md 2015-11-13 14:40:34 -06:00
James Nugent 205640a7c9 Merge pull request #3912 from hashicorp/b-target-orphans
Allow targeting orphan nodes
2015-11-13 14:39:52 -06:00
James Nugent 38bb9f2416 Allow targeting of orphan nodes
Fixes #3852. We now run the OrphanTransformer even when targeting, and
pass it the list of targets following resource expansion.
2015-11-13 14:33:58 -06:00
clint shryock 7d94c86958 go fmt structure files 2015-11-13 13:53:52 -06:00
Chris Love 50d36f108b merging 2015-11-13 12:52:07 -07:00
Chris Love 6d13b9296b updating documentation 2015-11-13 12:49:40 -07:00
Chris Love ce6f0ae5e4 testing finished 2015-11-13 12:49:40 -07:00
Chris Love 6615285d63 working on read and more testing 2015-11-13 12:49:40 -07:00
Chris Love 8c47441a8b adding new functional test 2015-11-13 12:49:06 -07:00
Chris Love cae7fd8e4a fixing if and AnyTypes 2015-11-13 12:47:17 -07:00
Chris Love b47d1cda7c adding capability to set custom configuration value in virtual machines 2015-11-13 12:47:17 -07:00
Chris Love 0f46b3a6c5 working on read and more testing 2015-11-13 12:43:06 -07:00
Chris Love 728b2bed63 adding new functional test 2015-11-13 12:43:06 -07:00
Chris Love bc36ba7f3c fixing if and AnyTypes 2015-11-13 12:43:06 -07:00
Chris Love e899a2949f adding capability to set custom configuration value in virtual machines 2015-11-13 12:43:06 -07:00
James Nugent bfb770ee89 Add failing test for targeted destroy on orphan
This replicates the issue reported in #3852.
2015-11-13 13:20:04 -06:00
Paul Hinze 928f534cfc template_file: source contents instead of path
Building on the work of #3846, deprecate `filename` in favor of a
`template` attribute that accepts file contents instead of a path.

Required a bit of work in the interpolation code to prevent Terraform
from assuming that template interpolations were resource variables that
needed to be resolved. Leaving them as "Unknown Variables" prevents
interpolation from happening early and lets the `template_file` resource
do its thing.
2015-11-13 11:24:20 -06:00
Paul Hinze 44f259bd74 provider/aws: homedir expand in s3 object source
fixes #3856
2015-11-13 11:21:22 -06:00
clint shryock e94fcdb9df add validation for cookie stickiness 2015-11-13 10:46:27 -06:00
clint shryock b81f9a9c52 provider/aws: Fix issue with LB Cookie Stickiness and empty expiration period 2015-11-13 10:34:15 -06:00
Joe Topjian edd8e722bf provider/openstack: Make Networking Port attributes more intuitive
This commit makes some quick updates to the port attributes to make them
more intuitive:

* `security_groups` to `security_group_ids`: since the port is expecting
IDs and not security group names like in other areas of OpenStack.

* `admin_state_up`: change to Boolean to match this same attribute on
other resources.

* `fixed_ips` to `fixed_ip`: while multiple `fixed_ip` blocks can be
specified, only one fixed IP can be specified in each block.
2015-11-13 04:46:12 +00:00
Joe Topjian 536ba76b21 Update CHANGELOG.md 2015-11-12 21:14:28 -07:00
Joe Topjian d0911649e3 Merge pull request #3903 from jtopjian/add-port-id-to-router-interface
provider/openstack: Add port id to router interface
2015-11-12 21:11:48 -07:00
Joe Topjian 4d6e3289bc provider/openstack: adding test for router interface port 2015-11-13 04:04:05 +00:00
Kirill Shirinkin 3a1a242a7a provider/openstack: Allow port_id for router interface 2015-11-13 03:13:12 +00:00
James Nugent 2dbd9b47e4 Update CHANGELOG.md 2015-11-12 16:58:26 -06:00
James Nugent 839fc5bfee Merge pull request #3900 from Banno/fix-aws-route53-record-failover-weight
provider/aws: fix for creating failover route53 records
2015-11-12 16:56:59 -06:00
clint shryock 6fa69ede1c add debugging statements to add/remove listeners 2015-11-12 16:20:54 -06:00
Luke Amdor 10ca0559ae provider/aws: no weight for all set_identifier 2015-11-12 16:15:05 -06:00
Paul Hinze 73ce6d184a chef: read key contents instead of paths
Builds on the work of #3846, shifting the Chef provisioner's
configuration options from `secret_key_path` and `validation_key_path`
over to `secret_key` and `validation_key`.
2015-11-12 16:11:44 -06:00
clint shryock c60a963908 providers/aws: Retry deleting IAM Server Cert on dependency violation
This will retry deleting a server cert
if it throws an error about being in use with an ELB (that we've likely just
  deleted)

Includes test for ELB+IAM SSL cert bug dependency violation
2015-11-12 16:07:34 -06:00
Brandon Rochon f148ef73ec Merge remote-tracking branch 'upstream/master' into rds_pub_access_param
Change-Id: Ib4aaf478f4662b43961f80fbfd44199fca651180
2015-11-12 14:04:49 -08:00
Paul Hinze b6aed3fec3 communicator/ssh: fix typos travis didn't catch
I think rebasing and splitting got me into a weird state. This should
fix the build failures on master.
2015-11-12 16:00:28 -06:00
Paul Hinze c897d0a2c7 Update CHANGELOG.md 2015-11-12 15:36:28 -06:00
Paul Hinze d6a61bdccf Merge pull request #3846 from hashicorp/phinze/pathorcontents
ssh: accept private key contents instead of path
2015-11-12 15:35:16 -06:00
Brandon Rochon b6738f13c1 Issue #3894 RDS publicly_accessible param shouldn't force new resource
Change-Id: I833f9e07f3fc1f6ee475673ad978b3982f0b6273
2015-11-12 13:33:27 -08:00
Paul Hinze 7ffa66d1a5 ssh: accept private key contents instead of path
We've been moving away from config fields expecting file paths that
Terraform will load, instead prefering fields that expect file contents,
leaning on `file()` to do loading from a path.

This helps with consistency and also flexibility - since this makes it
easier to shift sensitive files into environment variables.

Here we add a little helper package to manage the transitional period
for these fields where we support both behaviors.

Also included is the first of several fields being shifted over - SSH
private keys in provisioner connection config.

We're moving to new field names so the behavior is more intuitive, so
instead of `key_file` it's `private_key` now.

Additional field shifts will be included in follow up PRs so they can be
reviewed and discussed individually.
2015-11-12 14:59:14 -06:00
Clint 4252a3e557 Update CHANGELOG.md 2015-11-12 14:28:39 -06:00