Commit Graph

9754 Commits

Author SHA1 Message Date
James Nugent ca57cb1a90 deps: Update github.com/fsouza/go-dockerclient
This introduces the fix in fsouza/go-dockerclient#497, which in turn
fixes fsouza/go-dockerclient#296. This allows Terraform to build fully
on OpenBSD.
2016-04-10 17:16:10 -05:00
Seth Vargo 29b073158f Update documentation to include new "project" attribute
This commit also normalizes the format we display attributes.
2016-04-10 17:34:15 -04:00
Seth Vargo bacf5abf3c Accept "project" as an attribute to GCP resources
This is the first step in removing the config dependency on "project".
This change is backwards-compatible because the value for this new
attribute defaults to the value from the provider.
2016-04-10 13:01:24 -04:00
Seth Vargo fda23a3a31 Switch the order of gcp buildNetworks func to be more go-like
The current implementation returns error as the first parameter, 
but it is usually the last parameter.
2016-04-10 13:01:23 -04:00
Seth Vargo d5a9e9b554 Deprecate unused "region" attribute in gcp global_forwarding_rule 2016-04-10 13:01:23 -04:00
Seth Vargo 7e5ca60369 Make GCP provider "project" attribute optional 2016-04-10 13:01:23 -04:00
James Nugent 70c65fb00a Merge pull request #6033 from meteor/glasser/delete-config
command: delete unused class
2016-04-09 12:37:20 -05:00
James Nugent cf9961d40e Merge pull request #6098 from hashicorp/sethvargo/core_funcs
Use schema funcs for reading values from the env
2016-04-09 12:35:17 -05:00
James Nugent 8f60579a66 Merge pull request #6103 from joshuaspence/quickdev
Remove TF_QUICKDEV environment variable
2016-04-09 12:33:50 -05:00
Hany Fahim 44fc1b5d80 Add project parameter to cloudstack_port_forward.
- Add parameter to resource.
- Modify read operation to pass in projectid if defined.
2016-04-09 11:58:57 -04:00
Joshua Spence cfc2890310 Remove TF_QUICKDEV environment variable
This environment variable doesn't seem to be used, the last usage was removed in 6fe2703665.
2016-04-09 21:56:25 +10:00
James Nugent 5136462cda deps: Fix Godep.json for HCL 2016-04-08 18:51:56 -05:00
Seth Vargo 68a2a2299e Use schema funcs for reading values from the env 2016-04-08 17:28:54 -04:00
Paul Stack a7f7e25032 Update CHANGELOG.md 2016-04-08 16:23:30 -05:00
Ricard Clau 26bc88a1cc error checks for vsphere create and delete folder (#6095) 2016-04-08 16:22:36 -05:00
Paul Stack 544d05b818 Update CHANGELOG.md 2016-04-08 13:57:35 -05:00
Hector Rivas Gandara 0fdf91661d provider/aws: normalize json policy for sns topic policy attribute (#6089)
* provider/aws: test empty plan with sns_topic policy with random order

If we setup a sns_topic policy with a policy with a different order
to the one set by the AWS API, terraform plan will be not empty between
runs.

* provider/aws: normalize json policy for sns topic

For the policy attribute of the resource aws_sns_topic,  AWS returns the policy
in JSON format with the fields in a different order.
If we store and compare the values without normalizing, terraform
will unnecesary trigger and update of the resource.

To avoid that, we must add a normalization function in the StateFunc of
the policy attribute and also when we read the attribute from AWS.
2016-04-08 13:55:49 -05:00
Paul Stack ed7ff1dc7f provider/triton: Change triton docs to reflect key_material not key_path (#6090) 2016-04-08 10:57:44 -05:00
Justin Clark 576e56025c Add undocumented custom_json argument to opsworks_stack doc (#6074) 2016-04-08 10:01:43 -05:00
Michael H. Oshita 786cc45d5f Update cloudwatch_metric_alarm.html.markdown (#6085)
On creating CloudWatch metric alarms, I need to get the HealthCheckId dimension. Reference would be useful.

```
    dimensions {
        "HealthCheckId" = "${aws_route53_health_check.foo.id}"
    }
```
2016-04-08 09:54:24 -05:00
Sander van Harmelen 2d3a0c9c64 Update CHANGELOG.md 2016-04-08 15:50:50 +02:00
Joe Topjian 1d2a8a68e1 Update CHANGELOG.md 2016-04-07 21:21:27 -06:00
Joe Topjian cd4e5c86dc Merge pull request #6060 from jtopjian/openstack-subnet-no-gateway
provider/openstack: Allow subnets with no gateway
2016-04-07 21:20:48 -06:00
Joe Topjian 28f98c3701 provider/openstack: Allow subnets with no gateway
This commit adds a no_gateway attribute. When set, the subnet will
not have a gateway. This is different than not specifying a
gateway_ip since that will cause a default gateway of .1 to be used.
This behavior mirrors the OpenStack Neutron command-line tool.

Fixes #6031
2016-04-08 03:12:49 +00:00
Joe Topjian 1889ab7bb3 Merge pull request #6079 from jtopjian/openstack-vendor-update
vendor: Updating gophercloud for openstack
2016-04-07 20:59:47 -06:00
Joe Topjian 41689093d5 Merge pull request #6073 from justinclayton/patch-1
Update compute_instance_v2.html.markdown
2016-04-07 20:54:34 -06:00
Joe Topjian e9f627ba92 vendor: Updating gophercloud for openstack 2016-04-08 02:51:36 +00:00
Joe Topjian a152089e7c Update CHANGELOG.md 2016-04-07 20:46:14 -06:00
Joe Topjian 82c6afc5a7 Merge pull request #6052 from jtopjian/openstack-fix-disable-dhcp
provider/openstack: Fix Disabling DHCP on Subnets
2016-04-07 20:41:43 -06:00
Joe Topjian f3c4ab1efa Update CHANGELOG.md 2016-04-07 20:38:24 -06:00
Joe Topjian b002ce68cd Merge pull request #6020 from jtopjian/openstack-resize-flavor-name
provider/openstack: Allow resizing when Flavor Name changes
2016-04-07 20:37:25 -06:00
Justin Clayton b9417819c9 Update compute_instance_v2.html.markdown 2016-04-07 15:09:59 -07:00
Paul Hinze f1638097e5 Update CHANGELOG.md 2016-04-07 14:38:52 -05:00
Paul Hinze 2de5dd06d8 Merge pull request #6070 from hashicorp/phinze/multiple-eips-per-eni
provider/aws: Allow multiple EIPs to associate to single ENI
2016-04-07 14:38:30 -05:00
Paul Hinze 8380a7b03e provider/aws: Allow multiple EIPs to associate to single ENI
When calling AssociateAddress, the PrivateIpAddress parameter must be
used to select which private IP the EIP should associate with, otherwise
the EIP always associates with the _first_ private IP.

Without this parameter, multiple EIPs couldn't be assigned to a single
ENI. Includes covering test and docs update.

Fixes #2997
2016-04-07 13:26:15 -05:00
Paul Hinze bf45bfb685 website: Handle SVGs in deployment mime-type fixup as well 2016-04-07 13:01:01 -05:00
Paul Hinze d687842ed5 Merge pull request #6066 from hashicorp/phinze/website-mime-types
website: force JS/CSS mime-types on deploy
2016-04-07 12:08:39 -05:00
Matthew Walter 4fbe7cb361 Corrected typo in AzureRM template deployment docs (#6068) 2016-04-07 11:26:43 -05:00
Paul Hinze 54132c16b4 website: force JS/CSS mime-types on deploy
Should fix occassional issues with application/octet-stream mime type
assets breaking JS/CSS on site.
2016-04-07 10:39:29 -05:00
Paul Hinze 7eb91755fd Merge pull request #6063 from hashicorp/sethvargo/github
Capitalize the H in GitHub
2016-04-07 09:31:04 -05:00
Seth Vargo 4fde3b2be9 Capitalize the H in GitHub
GitHub really doesn't like when you make the H lowercase, it violates
their brand guidelines and they won't help promote anything that doesn't
use the capital H.
2016-04-07 10:26:01 -04:00
Paul Stack 662dc9f49c update docs on required parameter for api_gateway_integration
* update docs on required parameter for api_gateway_integration

This parameter was required for lambda integration.

Otherwise,

` Error creating API Gateway Integration: BadRequestException: Enumeration value for HttpMethod must be non-empty`

* documentation: Including the AWS type on the api_gateway_integration docs
2016-04-06 16:54:40 -05:00
Joe Topjian d15a0eb752 provider/openstack: Fix Disabling DHCP on Subnets
This commit fixes a bug where "false" was not correctly being passed to
the subnet creation and therefore enabling DHCP on all subnets.
2016-04-06 21:00:27 +00:00
Martin Atkins ca4eed7c0e Update CHANGELOG.md 2016-04-06 09:40:22 -07:00
David Harris e698822be5 provider/aws: Renaming `option_settings` attribute to `setting`. Added test to verify that settings are applied to template.
Fixes #6035
2016-04-06 11:35:07 -05:00
Martin Atkins f739ef9849 Human-readable error for failure to read EC2 volume
Previously the format string was using %#v, which prints the whole data structure given.

Instead we want to use %s to get the string representation of the error.

This fixes #6038.
2016-04-06 09:34:10 -07:00
Hector Rivas Gandara ad761f338d provider/aws: Doc cloudwatch SNS and lambda perms
Documentation for `aws_cloudwatch_event_target` to warn that in order to be

able to have your AWS Lambda function or SNS topic invoked by a CloudWatch

Events rule, you must setup the right permissions

using `aws_lambda_permission` or `aws_sns_topic.policy`
2016-04-06 10:28:24 -05:00
David Glasser 320773d6c1 command: delete unused class 2016-04-05 18:42:09 -07:00
Paul Stack 84b913bc5d Update CHANGELOG.md 2016-04-05 16:00:52 -05:00
Hector Rivas Gandara eb4fef1ca1 aws provider: normalize json of cloudwatch event_pattern
Normalise the event_pattern of the aws_cloudwatch_event_rule resource

before uploading it to AWS.



AWS seems to accept a event_pattern with a JSON with new lines, but then

the rule does not seem to work. Creating the rule in the AWS console works,

but will setup the pattern  as a json without newlines or spaces, and

display a formatted JSON.
2016-04-05 15:56:45 -05:00