Commit Graph

7295 Commits

Author SHA1 Message Date
Brett Mack
f8e1a640e4 Merge branch 'master' of github.com:hmrc/terraform into hmrc 2015-11-16 20:11:46 +00:00
Brett Mack
ecc4ce3657 Converted firewall_rules rule set to a list type. Code tidy 2015-11-16 20:11:05 +00:00
Paul Hinze
fed3095455 Update CHANGELOG.md 2015-11-16 13:55:25 -06:00
Paul Hinze
afb416fba4 Merge pull request #2807 from dwradcliffe/f-dyn-provider
add Dyn provider
2015-11-16 13:53:44 -06:00
Clint
f36b7bf653 Merge pull request #3938 from mdb/doc-formatting-fix
website: add `` to format documentation env vars
2015-11-16 10:28:10 -06:00
Mike Ball
874bddd84c website: add `` to format documentation env vars
this consistently formats the `TF_*` variables referenced in
documentation and also improves readability.
2015-11-16 11:23:43 -05:00
James Nugent
c593bf3722 Remove unused depgraph package 2015-11-16 10:51:54 -05:00
Radek Simko
5194eb4e28 Update CHANGELOG.md 2015-11-16 15:33:46 +00:00
Radek Simko
5c59bd95cb Merge pull request #3924 from TimeIncOSS/b-aws-ecs-td-computed
provider/aws: Make all fields in ecs_task_definition ForceNew
2015-11-16 15:31:17 +00:00
Radek Simko
ce375ae32d Merge pull request #3773 from rjeczalik/master
provider/aws: use single import path for aws-sdk-go
2015-11-16 07:57:27 +00:00
Rafal Jeczalik
4f25b552bb use single import path for aws-sdk-go 2015-11-16 00:42:08 +01:00
James Nugent
b7f66bdd9d Merge pull request #3922 from TimeIncOSS/remove-url-helper
helper: Remove url helper (moved to go-getter)
2015-11-15 16:57:37 -05:00
James Nugent
aa5bf5414d Merge pull request #3929 from pshima/packet-dot-net-project-doc-update
Small update to packet.net docs for project
2015-11-15 16:56:50 -05:00
Pete Shima
880002fe15 Small update to packet.net docs for project 2015-11-15 10:55:42 -08:00
Joe Topjian
b4242e6f35 provider/openstack: Clean up some attributes in LBaaS VIP resource
This commit makes a few attributes computed so the generated information
is accessible after creation.

It also fixes the "persistence" attribute, which previously had a typo.

Finally, it converts "admin_state_up" to a Boolean to match the majority
of other attributes of the same name.
2015-11-14 21:16:23 +00:00
Radek Simko
33ca2a796f Fix typo (Modifier -> Modified) 2015-11-14 12:19:29 +00:00
Radek Simko
308edd6dd7 provider/aws: Make all fields in ecs_task_definition ForceNew
- fixes https://github.com/hashicorp/terraform/issues/2694
2015-11-14 10:36:01 +00:00
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
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
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
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
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
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