Commit Graph

6997 Commits

Author SHA1 Message Date
Paul Hinze 7f800f3498 website: docs for null_resource 2015-10-27 15:28:37 -05:00
Mitchell Hashimoto 05794199af dag: use hashcodes to as map key to edge sets 2015-10-27 11:58:34 -07:00
Paul Hinze 1152ee9a53 Merge pull request #3244 from Banno/make-null-resource-more-useful
Add triggers to the null_resource
2015-10-27 13:30:54 -05:00
Mitchell Hashimoto 62758e99b5 Update CHANGELOG.md 2015-10-27 08:49:41 -07:00
Eloy Coto 8dd4b155e0 Vsphere_virtual_machine: Delete all network interfaces from template
before added new one. Fixes #3559 and #3560
2015-10-27 09:43:01 +00:00
Yo Takezawa d2cf45a057 provider/openstack: Ignore order of security_groups in instance 2015-10-27 15:57:28 +09:00
Dave Cunningham f1c6673e1b Update CHANGELOG.md 2015-10-26 19:37:35 -04:00
Dave Cunningham 66336f577a Merge pull request #3643 from lwander/f-gcp-instance-scheduling
provider/google: Added scheduling block to compute_instance
2015-10-26 19:29:33 -04:00
Clint 03a770e96a Update CHANGELOG.md 2015-10-26 16:44:39 -05:00
Clint 3ce656b007 Merge pull request #2890 from pforman/asg-termination
Update AWS ASG termination policy code and tests
2015-10-26 16:42:53 -05:00
Seth Vargo 60c508b9ea Merge pull request #3644 from hashicorp/sethvargo/tf
Use hc-releases
2015-10-26 17:33:05 -04:00
Seth Vargo e98ab725c2 Use hc-releases 2015-10-26 17:21:04 -04:00
Seth Vargo f3ab7f2559 Merge pull request #3637 from hashicorp/sethvargo/releases
Use releases for releases
2015-10-26 17:01:28 -04:00
Lars Wander 5a311dbd11 provider/google: Added scheduling block to compute_instance 2015-10-26 16:16:06 -04:00
BSick7 e0aad68ef1 Relying on `ForceNew` for `destination_cidr_block` since it is part of the unique id instead of manually recreating the resource. 2015-10-26 13:45:21 -04:00
BSick7 e4465adca5 Removing usage of awsutil.Prettify. 2015-10-26 13:38:17 -04:00
BSick7 9cb1aada0a Fixing page metadata for aws_route. 2015-10-26 13:26:47 -04:00
Seth Vargo 74d1486a4d Use vendored fastly logo 2015-10-26 11:53:42 -04:00
Seth Vargo 456f1a7676 Use releases for releases 2015-10-26 11:48:59 -04:00
Dave Cunningham 8b70867fdd Update CHANGELOG.md 2015-10-26 03:04:45 -04:00
Dave Cunningham c0bf7aecb3 Merge pull request #3554 from lwander/f-gcp-version
provider/google: Accurate Terraform Version
2015-10-26 02:59:51 -04:00
Dave Cunningham ccdadf88f6 Update CHANGELOG.md 2015-10-26 02:58:59 -04:00
Dave Cunningham a4eee72c78 Merge pull request #3620 from lwander/b-gcp-large-instance-group-timeout
provider/google: Fixed timeout bug on large instance groups
2015-10-26 02:56:18 -04:00
Dave Cunningham 3b91f047a3 Update vpn.tf
Fix grammar in comment
2015-10-26 00:49:44 -04:00
Takaaki Furukawa 8390154968 provider/vsphere: Fix d.SetConnInfo error in case of a missing IP address 2015-10-26 10:32:19 +09:00
Martin Atkins 7e539ef2cb Update CHANGELOG.md 2015-10-25 14:27:20 -07:00
Martin Atkins d7fb7d1d0a Merge pull request #3632 from qjcg/remote-config-help-backends
command/remote_config: Update list of remote state backends in Help() method
2015-10-25 14:26:26 -07:00
John Gosset 61e890ecc9 Update list of backends in RemoteConfigCommand's Help() method 2015-10-25 16:46:02 -04:00
Antoine Grondin 7594c09623 provider/digitalocean: fix issue #3628 by accepting SSH fingerprints 2015-10-25 16:29:01 -04:00
Tomas Doran 96275ee66a Add an explicit test for PR #2973 2015-10-25 18:55:21 +00:00
Dave Cunningham 965399cf45 Merge pull request #3623 from Carevoyance/f-provider-google-servicescopes
Update list of GCE service scope short names
2015-10-23 22:20:11 -04:00
Daniel Imfeld f23a8bfe4e Update list of GCE service scope short names 2015-10-23 17:58:04 -05:00
Lars Wander 0c81a9c108 provider/google: Fixed timeout bug on large instance groups 2015-10-23 15:12:53 -04:00
Martin Atkins 54351885b6 Merge pull request #3614 from joshgarnett/cloudwatch_metric_alarm_doc_fix
Fixing the cloudwatch_metric_alarm auto scale example
2015-10-23 10:42:52 -07:00
Paul Hinze 81ffb72230 release: clean up after v0.6.6 2015-10-23 10:50:35 -05:00
Paul Hinze d83cb911cd v0.6.6 2015-10-23 15:31:41 +00:00
Paul Hinze 60e76961c6 Update CHANGELOG.md 2015-10-23 09:56:22 -05:00
Vincent Latombe 44e93526a1 provider/aws: ignore association not exist on route table destroy
[GH-3615]
2015-10-23 15:03:54 +02:00
Joshua Garnett d86376c0ac Fixing the cloudwatch_metric_alarm auto scale example 2015-10-23 08:22:46 -04:00
Radek Simko c817e7c765 Merge pull request #3606 from wkonkel/patch-1
typo
2015-10-23 11:04:40 +02:00
Sander van Harmelen 477988497e Merge pull request #3613 from svanharmelen/b-cloudstack-vpc
provider/cloudstack: add `computed` flag to the `network_domain` parameter
2015-10-23 10:06:37 +02:00
Sander van Harmelen aa5d02104c Add `computed` flag to the `network_domain` parameter
Without this flag you will get a diff based on the `network_domain`
parameter, if you not specify the parameter.
2015-10-23 09:54:54 +02:00
Martin Atkins f6fd41e7b5 tls provider
As of this commit this provider has only logical resources that allow
the creation of private keys, self-signed certs and certificate requests.
These can be useful when creating other resources that use TLS
certificates, such as AWS Elastic Load Balancers.

Later it could grow to include support for real certificate provision from
CAs using the LetsEncrypt ACME protocol, once it is stable.
2015-10-22 21:48:32 -07:00
Martin Atkins 864b2dee01 Update CHANGELOG.md 2015-10-22 21:27:51 -07:00
Martin Atkins 8fdffb65ea Merge #3009: Nicer error for list/map assignment to string
Fixes #2984, #3128 and #3577.
2015-10-22 21:21:20 -07:00
Martin Atkins a67182543c Nicer error when list/map assigned to string argument.
Previous this would return the following sort of error:
expected type 'string', got unconvertible type '[]interface {}'

This is the raw error returned by the underlying mapstructure library.
This is not a helpful error message for anyone who doesn't know Go's
type system, and it exposes Terraform's internals to the UI.

Instead we'll catch these cases before we try to use mapstructure and
return a more straightforward message.

By checking the type before the IsComputed exception this also avoids
a crash caused when the assigned value is a computed list. Otherwise
the list of interpolations is allowed through here and then crashes later
during Diff when the value is not a primitive as expected.
2015-10-22 21:16:02 -07:00
Warren Konkel 48439bdf62 typo 2015-10-22 15:48:25 -07:00
Paul Hinze 6a8ae92ea9 Merge pull request #3603 from hashicorp/b-atlas-state-conflict-handling
state/remote/atlas: handle conflicts on equivalent states
2015-10-22 15:51:09 -05:00
Paul Hinze 6aa5fdc938 state/remote/atlas: handle conflicts on equivalent states
Atlas returns an HTTP 409 - Conflict if the pushed state reports the same
Serial number but the checksum of the raw content differs. This can
sometimes happen when Terraform changes state representation internally
between versions in a way that's semantically neutral but affects the JSON
output and therefore the checksum.

Here we detect and handle this situation by ticking the serial and retrying
iff for the previous state and the proposed state:

  * the serials match
  * the parsed states are Equal (semantically equivalent)

In other words, in this situation Terraform can override Atlas's detected
conflict by asserting that the state it is pushing is indeed correct.
2015-10-22 15:40:45 -05:00
Jeff Mitchell 1373a6086b Use cleanhttp for new http clients 2015-10-22 14:23:59 -04:00