Commit Graph

15936 Commits

Author SHA1 Message Date
Joe Topjian 2d85b096f9 Merge pull request #10866 from aleander/swift-token-auth
Swift token auth
2016-12-20 22:23:14 -07:00
Curtis Allen ad565974ac fixes double base64 encode
Add a utility that ensures a byte array is not doubly base64 encoded
Fixes #10786
2016-12-20 17:47:05 -07:00
Dana Hoffman f0dec4c564 Run example using credentials from gcloud init 2016-12-20 15:47:49 -08:00
Michael H. Oshita 3751f12421 Update s3_bucket.html.markdown
use backtick markdown for proper highlighting
2016-12-21 04:33:50 +09:00
Aleksander Modzelewski a931b9cc23 Documentation update 2016-12-20 18:27:05 +01:00
Aleksander Modzelewski 2627e4bd8d Add token authentication to Swift remote 2016-12-20 18:22:48 +01:00
Reinhard Nägele a45d2e5289 GKE: Fix docs for node_version (#10856) 2016-12-20 14:06:19 +00:00
Paddy e6349aee4f Remove create_timeout backwards incompatibilities.
A new create_timeout attribute was added that had some backwards
incompatibilities, and as per discussion in #10823, it was determined we
could make upgrading to 0.8.x easier by fixing them, without really
losing any functionality.

Because create_timeout is not something stored or transmitted to the
API, it's not something we need a ForceNew on. Also, because an update
wouldn't result in an API call, we can add a state migration to avoid a
false positive diff that requires people to plan and apply but doesn't
actually make an API call.
2016-12-19 23:49:53 -08:00
Mike Tougeron 61fec06f51 Add the archive file's MD5 to the output 2016-12-19 18:39:38 -08:00
Clint 992e12335f Update CHANGELOG.md 2016-12-19 14:00:57 -06:00
Clint 7998c3be92 Merge pull request #8622 from optimisticanshul/8604-snapshot-rds-password
Update rds password if provided while creating from snapshot
2016-12-19 13:59:48 -06:00
Dana Hoffman af8ef21c54 Add README/output/example vars to ILB example 2016-12-19 11:58:31 -08:00
Dana Hoffman f8ec19049b Add example for internal load balancing 2016-12-19 11:58:30 -08:00
Kenneth Ford acecefb253 Add CLI output example to Usage of Modules 2016-12-19 13:26:36 -05:00
Mitchell Hashimoto adbf7c24f2 Update CHANGELOG.md 2016-12-19 10:02:05 -08:00
Mitchell Hashimoto f2c16b7ba2 Merge pull request #10807 from hashicorp/b-alias-validate
config: smarter provider alias usage validation
2016-12-19 10:01:18 -08:00
Paul Stack dc052c5707 Update CHANGELOG.md 2016-12-19 13:22:26 +00:00
Peter McAtominey b4e0b8a9f5 provider/azurerm: fix network_interface.ip_configuration has for load balancers (#10834)
The subsets for backend address pools and inbound nat rules weren't being hashed
properly as part of the ip_configuration hash which caused multiple
ip_configurations to be expanded and sent to the API with conflicting names

TF_ACC=1 go test ./builtin/providers/azurerm -v -run TestAccAzureRMNetworkInterface -timeout 120m
=== RUN   TestAccAzureRMNetworkInterface_basic
--- PASS: TestAccAzureRMNetworkInterface_basic (160.24s)
=== RUN   TestAccAzureRMNetworkInterface_disappears
--- PASS: TestAccAzureRMNetworkInterface_disappears (157.00s)
=== RUN   TestAccAzureRMNetworkInterface_enableIPForwarding
--- PASS: TestAccAzureRMNetworkInterface_enableIPForwarding (156.86s)
=== RUN   TestAccAzureRMNetworkInterface_multipleLoadBalancers
--- PASS: TestAccAzureRMNetworkInterface_multipleLoadBalancers (185.87s)
=== RUN   TestAccAzureRMNetworkInterface_withTags
--- PASS: TestAccAzureRMNetworkInterface_withTags (1212.92s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/azurerm	1872.960s
2016-12-19 13:21:51 +00:00
Joe Topjian 504407c1cb provider/openstack: Block Device Tests and Docs (#10830)
This commit adds some basic tests for block device functionality. It also
expands the existing block device documentation as well references the
new "volume attach" resources for further block storage functionality.
2016-12-19 10:29:37 +00:00
Dan Stine 870a981c50 Alphabetize sidebar list of providers by displayed name (#10824) 2016-12-19 10:18:23 +00:00
Dan Stine efeae1ee03 Fix a few typos in contributing guidelines (#10825) 2016-12-19 10:17:12 +00:00
Paul Stack e50cec712c Update CHANGELOG.md 2016-12-18 22:39:21 +00:00
Joe Topjian 7843a5c6e6 provider/openstack: Handle Volume Creation Errors (#10821)
This commit makes the openstack_blockstorage_volume resources better able
to handle volume creation errors upon resource creation. The cause of this
change is because there could be some storage backend error that happens
during storage provisioning that won't manifest in an "err" but will set
the volume's status to "error". We now check for a status of "error" and
propagate the error up the stack.
2016-12-18 22:38:55 +00:00
Paul Stack 2283f0c166 Update CHANGELOG.md 2016-12-18 14:35:49 +00:00
Paul Stack 1ff623a790 provider/aws: Support updating of aws_db_instance db_subnet_group_name (#10818)
Fixes: #10811

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSDBInstance_subnetGroup'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/12/18 12:52:21 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSDBInstance_subnetGroup -timeout 120m
=== RUN   TestAccAWSDBInstance_subnetGroup
--- PASS: TestAccAWSDBInstance_subnetGroup (992.05s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/aws	992.073s
```
2016-12-18 14:35:24 +00:00
Paul Stack b54fd3ab9a Update CHANGELOG.md 2016-12-18 14:24:18 +00:00
Tom Harvey 776e76f6ce provider/azurerm: Redis Cache (#10184)
* Implementing Redis Cache

* Properties should never be nil

* Updating the SDK to 7.0.1

* Redis Cache updated for SDK 7.0.1

* Fixing the max memory validation tests

* Cleaning up

* Adding tests for Standard with Tags

* Int's -> Strings for the moment

* Making the RedisConfiguration object mandatory

* Only parse out redis configuration values if they're set

* Updating the RedisConfiguration object to be required in the documentaqtion

* Adding Tags to the Standard tests / importing excluding the redisConfiguration

* Removing support for import for Redis Cache for now

* Removed a scaling test
2016-12-18 14:23:29 +00:00
Paul Stack 89f4424abc Update CHANGELOG.md 2016-12-18 14:17:54 +00:00
Kit Ewbank ca183126c8 Add 'aws_iam_account_alias' data source. (#10804) 2016-12-18 14:17:19 +00:00
Paul Stack 717131fe61 Update CHANGELOG.md 2016-12-18 13:51:17 +00:00
Christoph Blecker b7faae4bac Use node_version during google_container_cluster creation (#10817) 2016-12-18 13:50:46 +00:00
Harry Hull 2ebbf598cb Add aws verification checks to opsworks acceptance tests (#10813)
* Verify with aws api in opsworks resource acceptance tests
Fixes #6202

* Minor fix to resource_aws_opsworks_application_test.go
2016-12-18 11:55:40 +00:00
Paul Stack 1e3e6c8732 Update CHANGELOG.md 2016-12-18 11:23:51 +00:00
Alexander 471299c4ae provider/pagerduty pagerduty_schedule - support for start_day_of_week (schedule restriction) (#10069)
* Adding support for start_day_of_week (schedule restriction)

* Vendor update

* Update schedule tests
2016-12-18 11:23:00 +00:00
Paul Stack 9b866e510a Update CHANGELOG.md 2016-12-17 12:41:46 +00:00
Michael Kuzmin 7a59971777 provider/docker: fix regression, cert_path stop working (#10754) (#10801) 2016-12-17 12:41:08 +00:00
Paul Stack f15efbc207 docs/aws: Add aws_autoscaling_attachment to the nav bar (#10809)
Fixes #10800
2016-12-17 12:39:09 +00:00
Kit Ewbank 8e1ce045ee Correct 'aws_hosted_zone' -> 'aws_route53_zone' in data source documentation. (#10803) 2016-12-17 12:30:20 +00:00
Mitchell Hashimoto 0c30caec7d
config: smarter provider alias usage validation
Fixes #4789

This improves the validation that valid provider aliases are used.

Previously, we required that provider aliases be defined in every module
they're used. This isn't correct because the alias may be used in a
parent module and inherited.

This removes that validation and creates the validation that a provider
alias must be defined in the used module or _any parent_. This allows
inheritance to work properly.

We've always had this type of validation for aliases because we believe
its a good UX tradeoff: typo-ing an alias is really painful, so we
require declaration of alias usage. It may add a small burden to
declare, but since relatively few aliases are used, it improves the
scenario where a user fat-fingers an alias name.
2016-12-16 16:47:32 -08:00
James Bardin 4f625af3fd Merge pull request #10787 from hashicorp/jbardin/inteprolate-list-of-maps
Inteprolate list of maps
2016-12-16 16:41:36 -05:00
James Bardin c7f5d8b7e7 Add tests for nested structues in flatmap.Expand 2016-12-16 16:34:08 -05:00
Clint b776494b18 Merge pull request #10796 from hashicorp/f-aws-sdk-v1.6.4
provider/aws: Bump SDK to v1.6.4, including some SDK bug fixes
2016-12-16 12:01:58 -06:00
clint shryock c9ed3f8e3b provider/aws: Bump SDK to v1.6.4, including some SDK bug fixes 2016-12-16 11:54:17 -06:00
Clint 3ca680facd Merge pull request #10791 from hashicorp/b-aws-lambda-tests
provider/aws: More randomiztion for lambda tests 💕
2016-12-16 11:40:22 -06:00
clint shryock 42efeb66db add missing runtime 2016-12-16 11:36:19 -06:00
Clint f53e49f9b9 Update CHANGELOG.md 2016-12-16 10:59:28 -06:00
clint shryock 45a7cc5afd more randomiztion for lambda tests 2016-12-16 10:42:37 -06:00
James Bardin 084670c241 Use flatmap.Expand to extract interpolated values
Now that flatmap.Expand will properly expand nested maps, we can use
that to extract any lists and maps when interpolating.
2016-12-16 10:36:27 -05:00
James Bardin d1d6907640 Add a provider test for a list of maps
Interpolation of a map from a list of maps was not working. Add a
provider example test to cover this.
2016-12-16 10:36:26 -05:00
James Bardin 5b5e892d4b fix flatmap.Expand
flatmap.Expand was adding `%` as a value in nested maps. Removing that
allows us properly expand objects other than a simple map.
2016-12-16 10:36:26 -05:00