Commit Graph

9830 Commits

Author SHA1 Message Date
Radek Simko 0929c88e64 Merge pull request #5603 from TimeIncOSS/fix/4913
aws: Fix CloudFormation update for parameters & capabilities if not modified
2016-03-13 08:23:12 +00:00
Oleg Chunikhin 25383ad5a3 aws: Fix CloudFormation update for parameters & capabilities if not modified 2016-03-13 08:10:57 +00:00
Radek Simko 8612cc3373 aws: Improve acceptance test for CloudFormation w/ all attributes 2016-03-13 08:10:54 +00:00
James Nugent e1223b4491 deps: Update hashicorp/hil to latest 2016-03-12 20:59:30 +00:00
Clint ba45f44856 Merge pull request #5591 from hashicorp/r53-docs
provider/aws: Document set_identifer requirement for Route53 weighted and failover types
2016-03-11 17:00:43 -06:00
Clint a3031562b2 Update CHANGELOG.md 2016-03-11 16:05:53 -06:00
Clint cca96bebd8 Merge pull request #5593 from hashicorp/b-aws-redshift-endpoint-guard
provider/aws: Guard against Nil Reference in Redshift Endpoints
2016-03-11 16:05:14 -06:00
Paul Hinze c7f5450a96 command: Add `terraform untaint`
- [x] Docs
 - [x] Command Unit Tests
 - [x] State Unit Tests

Closes #4820
2016-03-11 12:38:57 -06:00
clint shryock 66eb7c6055 provider/aws: Guard against Nil Reference in Redshift Endpoints 2016-03-11 12:16:29 -06:00
clint shryock bb806faf67 provider/aws: Document set_identifer requirement for Route53 weighted, failover types 2016-03-11 11:37:42 -06:00
Radek Simko 38ab16a6b5 Update CHANGELOG.md 2016-03-11 17:02:22 +00:00
Radek Simko d8b36532ef Merge pull request #5239 from TimeIncOSS/f-aws-lambda-func-updates
provider/aws: Add support for updating Lambda function
2016-03-11 16:59:18 +00:00
Paul Hinze 065fb8adbe Update CHANGELOG.md 2016-03-11 10:33:36 -06:00
Paul Hinze ece259f5ed Merge pull request #5575 from hashicorp/phinze/uuid
core: Add uuid() interpolate function.
2016-03-11 10:33:01 -06:00
Paul Hinze 96ebf0af0e provisioner/remote-exec: Clear out scripts after uploading
Prevents residual script contents from remaining on machine.

Fixes #482
2016-03-11 10:25:11 -06:00
James Nugent d9d8208a91 Fix panic in digital_ocean_droplet if resp is nil
Fixes #5583.
2016-03-11 16:00:13 +00:00
James Nugent 63008b857f Make name optional on cloudstack_instance resource
This commit matches the behaviour of the cloudstack_instance resource to
the documentation at [1], which indicates that the virtual machine name
is optional. This also changes the update logic to allow it to be
updated as described in [2].

[1] http://cloudstack.apache.org/api/apidocs-4.8/domain_admin/deployVirtualMachine.html
[2] http://cloudstack.apache.org/api/apidocs-4.8/domain_admin/updateVirtualMachine.html
2016-03-11 15:59:40 +00:00
Clint 65024db13a Merge pull request #5580 from seanknox/master
Fix contradictory aws_autoscaling_group doc
2016-03-11 08:01:46 -06:00
Radek Simko b0dee7fe83 Update CHANGELOG.md 2016-03-11 11:34:42 +00:00
Sean Knox a087b29504 Fix contradictory aws_autoscaling_group doc
- Fixes https://github.com/hashicorp/terraform/issues/5457
2016-03-10 22:41:25 -08:00
Joe Topjian 51b308ba64 Update CHANGELOG.md 2016-03-10 22:47:40 -07:00
Joe Topjian edb30d52c6 Merge pull request #5557 from pfrybar/master
provider/openstack: Fix create/delete statuses in load balancing resources for openstack provider.
2016-03-10 22:46:36 -07:00
Paul Hinze 14ca7e3156 docs: Clarify aws_instance.public_ip w/ EIP behavior
Closes #1425
2016-03-10 19:27:10 -06:00
Paul Hinze d447eac958 docs: ICMP type number goes in from_port in AWS SG rules
refs #1372
2016-03-10 19:23:35 -06:00
Paul Hinze 618fc4370e Update CHANGELOG.md 2016-03-10 18:57:14 -06:00
Paul Hinze f45f981eb2 Merge pull request #5499 from anubhavmishra/master
Moving octet-stream to json for remote http backend
2016-03-10 18:54:41 -06:00
Paul Hinze 13fc7b8a62 deps: vendor go-uuid 2016-03-10 18:40:20 -06:00
Paul Hinze 1e0b8ea478 core: Add uuid() interpolate function.
Utilizes hashicorp's go-uuid library for proper random seeding setup.
2016-03-10 18:39:07 -06:00
Paul Hinze ededbb55aa Merge pull request #5576 from hashicorp/phinze/updateawssdkgo
deps: Update vendored aws-sdk-go to v1.1.9
2016-03-10 18:34:38 -06:00
Paul Hinze 1d74bfd467 deps: Update vendored aws-sdk-go to v1.1.9
We had actually caught mismatched deps versions between the `kms`
package and others, so `godep restore` was not working on master.

Fixing it requires a `godep update` so I figured we might as well update
to the latest release.
2016-03-10 18:27:37 -06:00
Paul Hinze b8b10c9345 Update CHANGELOG.md 2016-03-10 15:44:38 -06:00
Paul Hinze 82765ea589 Merge pull request #5453 from bigkraig/aws-s3-kms-key
provider/aws: Support KMS encryption of S3 objects
2016-03-10 15:44:10 -06:00
Paul Hinze 5ce68fd1bd Merge pull request #5571 from hashicorp/revert-5193-f-aws-instance-security-groups-updates
Revert "provider/aws: Support additional changes to security groups of instance without forcing new"
2016-03-10 15:09:16 -06:00
Clint 7c58f145fd Merge pull request #5570 from hashicorp/b-aws-acc-test-updates
provider/aws: More Acc test updates
2016-03-10 15:04:33 -06:00
Paul Hinze e9c4d4f6d5 Revert "provider/aws: Support additional changes to security groups of instance without forcing new" 2016-03-10 14:51:30 -06:00
clint shryock 02ba1bf2d4 provider/aws: More Acc test updates
Working on the green

- randomize some Autoscaling lifecycle hook test names
- use vpc_security_group_ids for this test
2016-03-10 14:33:54 -06:00
Lars Wander e0d489f086 Update CHANGELOG.md 2016-03-10 14:50:34 -05:00
Lars Wander bac9385cac Update CHANGELOG.md 2016-03-10 14:39:18 -05:00
Lars Wander 0254f95cc9 Merge pull request #5564 from lwander/b-gcp-route-network
provider/google: Mark next_hop_network as read only.
2016-03-10 14:38:08 -05:00
Paul Hinze 914fd487c8 Update CHANGELOG.md 2016-03-10 13:31:15 -06:00
Paul Hinze 4e9e0ec5ca Merge pull request #5563 from hashicorp/phinze/deprecate-template-path
provider/template: warn when template specified as path
2016-03-10 13:30:23 -06:00
Paul Hinze e6a62d0a5c Update CHANGELOG.md 2016-03-10 13:19:04 -06:00
Paul Hinze ad0836be6f Merge pull request #5516 from hashicorp/phinze/tainted-target-bug
core: Encode Targets in saved Planfile
2016-03-10 13:16:19 -06:00
Lars Wander f8784df82b provider/google: Mark next_hop_network as read only. 2016-03-10 13:58:09 -05:00
Paul Hinze 0036db8f82 provider/template: warn when template specified as path
Turns out the BC code allowed users to move from `filename` to
`template` to squash the warning without having to switch from template
paths to template contents.

Here we warn when `template` is specified as a path so we can remove the
functionality in the future and remove this source of confusion.

refs #3732
2016-03-10 12:34:56 -06:00
Martin Atkins 01b3e215d7 Update CHANGELOG.md 2016-03-10 08:04:17 -08:00
Martin Atkins ec87a1b260 Merge pull request #5210 from apparentlymart/consul-keys-revamp
Make consul_keys behavior less surprising
2016-03-10 08:02:20 -08:00
Martin Atkins 2e33f5311c Treat each consul key as having its own lifecycle
Previously this resource managed the set of keys as a whole rather than
the individual keys, and so it was unable to recognize when a particular
managed key is removed and delete just that one key from Consul.

Here this is addressed by recognizing that each key actually has its own
lifecycle, and detecting when individual keys are added and removed
without replacing the entire consul_keys instance.

Additionally this restores the behavior of updating the "value" attribute
on read, but restricts it only to blocks that already had a value so as
to avoid the quirkiness seen previously when we updated blocks that were
intended to be read-only. Updating the value is important now, because we
rely on this to detect and repair discrepancies between values stored in
Consul and values given in the configuration.

This change produces a change in the handling of the "delete" attribute.
Before it was considered only when the entire consul_keys resource was
deleted, but now it is considered also when a particular key block is
removed from within a resource.
2016-03-10 07:52:43 -08:00
Martin Atkins df2ce588bc Specialized client for interacting with Consul keys
This deals with some of the quirks of interacting with the Consul API,
with the goal of making the consul_keys resource implementation, and
later the consul_keys data source, less noisy to read.
2016-03-10 07:51:27 -08:00
Paul Frybarger d8c9e448d4 Fix create/delete statuses in load balancing resources for openstack provider. 2016-03-10 09:35:38 -06:00