Commit Graph

14251 Commits

Author SHA1 Message Date
Paul Stack cccd5f3e83 Update CHANGELOG.md 2016-11-09 15:59:56 +00:00
Mitchell Hashimoto 9d174f41d6
update CHANGELOG 2016-11-09 07:54:35 -08:00
Paul Stack 643d42c412 provider/aws: AWS IAM, User and Role allow + in the name (#9991)
Fixes #9985

```
% make testacc TEST=./builtin/providers/aws
% TESTARGS='-run=TestValidateIamUserName'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/11/09 12:12:42 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestValidateIamUserName
-timeout 120m
=== RUN   TestValidateIamUserName
--- PASS: TestValidateIamUserName (0.00s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/aws0.026s
```
2016-11-09 15:54:15 +00:00
Paul Stack d66359b046 provider/aws: Fix panic when passing statuses to aws_acm_certificate (#9990)
Fixes #9989

When passing a list of statuses to the acm_certificate data source, we
were trying to cast a schema.TypeList directly to []string

We need to do it via an []interface{} and then cast to string when
ranging over the results. Without this, we get a panic
2016-11-09 15:53:36 +00:00
Mitchell Hashimoto 9e0af96afa Merge pull request #9971 from hashicorp/b-orphan-output
terraform: prune orphan outputs in old graph
2016-11-09 07:53:15 -08:00
Paul Stack 770bb4f18b Update CHANGELOG.md 2016-11-09 15:38:44 +00:00
Nick Santamaria 8949419bef provider/aws: Add key_name_prefix argument to aws_key_pair resource (#9993)
* Added key_name_prefix to aws_key_pair resource schema.

* Added logic to prefix the aws_key_pair name on create.

* Added aws_key_pair test config for key_name_prefix case.

* Copied test cases from testAccAWSSecurityGroup namespace.

* Modified copied test case to suit aws_key_pair resource.

* Changed required flag to optional on key_name argument for aws_key_pair resource.

* Added documentation for key_name_prefix argument.

* Code style fix.

* Fixed undefined variable error in test.
2016-11-09 15:35:51 +00:00
Paul Stack 81e3157b62 Update CHANGELOG.md 2016-11-09 15:16:10 +00:00
Peter McAtominey 464fb021f7 provider/azurerm: add virtual_machine_extension resource (#9962)
Picked up from where #6548 left off

settings and protected_settings take JSON objects as strings to make extension
generic

TF_ACC=1 go test ./builtin/providers/azurerm -v -run "TestAccAzureRMVirtualMachineExtension" -timeout 120m
=== RUN   TestAccAzureRMVirtualMachineExtension_importBasic
--- PASS: TestAccAzureRMVirtualMachineExtension_importBasic (697.55s)
=== RUN   TestAccAzureRMVirtualMachineExtension_basic
--- PASS: TestAccAzureRMVirtualMachineExtension_basic (824.17s)
=== RUN   TestAccAzureRMVirtualMachineExtension_concurrent
--- PASS: TestAccAzureRMVirtualMachineExtension_concurrent (929.74s)
=== RUN   TestAccAzureRMVirtualMachineExtension_linuxDiagnostics
--- PASS: TestAccAzureRMVirtualMachineExtension_linuxDiagnostics (803.19s)
PASS
ok 	github.com/hashicorp/terraform/builtin/providers/azurerm	3254.663s
2016-11-09 15:13:48 +00:00
Clint 4391f70d61 Update CHANGELOG.md 2016-11-09 08:48:22 -06:00
ddcprg 27527ef3cb EMR Cluster - core_instance_count doesn't actually refer to core instances 2016-11-09 08:47:23 -06:00
Zach Wolf 0e473c06ad Spelling mistake in docs-providers-vault index (#9994) 2016-11-09 13:50:09 +00:00
Nick Santamaria d6d3e51906 Changed required flag to optional on key_name argument for aws_key_pair resource. (#9992) 2016-11-09 12:54:12 +00:00
Paul Stack 0c7b914e9c Update CHANGELOG.md 2016-11-09 11:34:57 +00:00
jmasseo 77ca7001a8 removing toLower from flattenElastiCacheParameters - aws_elasticache_parameter_group parameters can be case sensitive (#9820) 2016-11-09 11:34:00 +00:00
Raphael Randschau e5ff0f0cb2 provider/scaleway: update sdk (#9976)
the SDK updates includes an fix for the image cache, which might lead to wrong
images ids being returned on lookup...
2016-11-09 09:32:56 +00:00
Joe Topjian 3258aa98e6 Update CHANGELOG.md 2016-11-08 19:42:30 -07:00
Joe Topjian cfa4d9b63b Merge pull request #9966 from fatmcgav/openstack_update_gophercloud_vendor
vendor: Update github.com/gophercloud/gophercloud
2016-11-08 19:40:02 -07:00
Mitchell Hashimoto 8eb116a183
update CHANGELOG 2016-11-08 16:20:28 -08:00
Mitchell Hashimoto 779d599b07 Merge pull request #9980 from hashicorp/update-hcl
vendor: update HCL for GH-8709
2016-11-08 16:17:30 -08:00
Mitchell Hashimoto 839e91756e
vendor: update HCL for GH-8709 2016-11-08 16:07:24 -08:00
Mitchell Hashimoto 2f0a7a99e6
update CHANGELOG 2016-11-08 15:59:43 -08:00
Mitchell Hashimoto 2b7177cfe7 Merge pull request #9607 from hashicorp/f-provider-stop-redo
terraform: ResourceProvider.Stop (redo)
2016-11-08 15:58:48 -08:00
Mitchell Hashimoto b22f7d4b6b
update CHANGELOG 2016-11-08 15:57:43 -08:00
Mitchell Hashimoto 95871adca9 Merge pull request #9613 from hashicorp/b-accurate-forcenew
helper/schema: only mark "ForceNew" on resources that cause the ForceNew
2016-11-08 15:56:31 -08:00
Mitchell Hashimoto e45debe0e5
helper/schema: only mark "ForceNew" on resources that cause the ForceNew
Fixes #2748

This changes the diff to only mark "forces new resource" on the fields
that actually caused the new resource, not every field that changed.
This makes diffs much more accurate.

I'd like to request a review but I'm going to defer merging until
Terraform 0.8. Changes like this are very possible to cause "diffs
didn't match" errors and I want some real world testing in a beta before
we hit prod with this.
2016-11-08 15:49:28 -08:00
Mitchell Hashimoto 645d3271f6
update CHANGELOG 2016-11-08 15:31:50 -08:00
Mitchell Hashimoto 261f0ee592 Merge pull request #9698 from hashicorp/b-simple-var
terraform: disallow simple variables ("foo")
2016-11-08 15:30:31 -08:00
Mitchell Hashimoto 45b2bc1a27
update CHANGELOG 2016-11-08 15:29:56 -08:00
Mitchell Hashimoto 646b3c1b68 Merge pull request #9158 from hashicorp/f-vault-provider
Vault Provider
2016-11-08 15:27:33 -08:00
Paddy 11b05de147 Merge pull request #9975 from hashicorp/paddy_fix_google_sidebar
Fix typo in the Google sidebar.
2016-11-08 14:50:11 -08:00
Paddy 9d4bedee0c Fix typo in the Google sidebar.
We have Google Compute Platform when we really mean Google Cloud
Platform. Whoops. I totally let this sneak in in #9969.
2016-11-08 14:09:17 -08:00
Raphael Randschau b0772b9131 provider/scaleway: retry volume attachment create/ destroy (#9972)
this PR fixes a flakyness in the `scaleway_volume_attachment` resource, as
described below:

when attaching/ detaching a volume from a `scaleway_server`, the server needs to
be stopped. even though the code already waits for the server to be stopped, the
`PatchServer` calls gets a `400 server is being stopped or rebooted` error
response.

If the API returns the `400` we bail, leaving terraform in a broken state.

Assuming this is the only error that the API might return to us, as the payload
itself is correct, this retry behaviour should fix the issue.

\cc @stack72 PTAL
2016-11-08 21:57:33 +00:00
Paul Stack d7ab7c029b Update CHANGELOG.md 2016-11-08 21:57:18 +00:00
Paddy a466aaf639 Merge pull request #9969 from cblecker/f-google-docs-sidebar-update
provider/google: Add google_iam_policy and google_project to sidebar
2016-11-08 13:53:53 -08:00
Mitchell Hashimoto 9890a2ee91
terraform: prune orphan outputs in old graph
This makes the old graph also prune orphan outputs in modules.
This will fix shadow graph errors such as #9905 since the old graph will
also behave correctly in these scenarios.

Luckily, because orphan outputs don't rely on anything, we were able to
simply use the same transformer!
2016-11-08 13:24:09 -08:00
Mitchell Hashimoto dfab66e550 Update CHANGELOG.md 2016-11-08 13:02:33 -08:00
Mitchell Hashimoto 3bc26db4e0 Merge pull request #9968 from hashicorp/b-destroy-self-ref
terraform: destroy edges should never point to self
2016-11-08 13:01:56 -08:00
Christoph Blecker 2eeb9fbf86
Add google_iam_policy and google_project to sidebar 2016-11-08 12:55:53 -08:00
Clint dd76c99301 Update CHANGELOG.md 2016-11-08 14:32:54 -06:00
Mitchell Hashimoto fb29b6a2dc
terraform: destroy edges should never point to self
Fixes #9920

This was an issue caught with the shadow graph. Self references in
provisioners were causing a self-edge on destroy apply graphs.

We need to explicitly check that we're not creating an edge to ourself.
This is also how the reference transformer works.
2016-11-08 12:27:33 -08:00
Gavin Williams 89d8a06c7e vendor: Update github.com/gophercloud/gophercloud
Fix issue with double base64 encoding userdata value
2016-11-08 19:19:56 +00:00
Paddy 8eb4678972 Update CHANGELOG.md 2016-11-08 11:04:21 -08:00
Paddy 78f8fea1fa Merge pull request #9950 from optimisticanshul/9928-aws-redshift-enhanced-vpc-routing
Added AWS Redshift Enhanced VPC Routing
2016-11-08 11:02:37 -08:00
Clint 81e599e53f Merge pull request #9600 from HotelsDotCom/master
AWS EMR resource - Support for Service Access Security Group
2016-11-08 11:36:03 -06:00
Paddy 1a4906f263 Update CHANGELOG.md 2016-11-08 09:04:35 -08:00
Paddy 9a1f050971 Merge pull request #9942 from hashicorp/paddy_6495_invalid_disk_crash
provider/google: throw an error for invalid disks
2016-11-08 09:03:18 -08:00
Mitchell Hashimoto b07c50f1d9 Merge pull request #9957 from jamtur01/consul
Minor tidying of the Consul documentation
2016-11-08 08:38:06 -08:00
James Turnbull b0e9a3f39b Fixed comma typo 2016-11-08 16:08:46 +01:00
James Turnbull 2f61c89c10 Fixed weird cnp 2016-11-08 16:07:43 +01:00