Joe Topjian
1b5694b7f4
provider/openstack: Enable HTTP Logging ( #12089 )
...
This commit adds the ability to log all requests and responses
between Terraform and the OpenStack cloud. To enable, set the
OS_DEBUG environment variable to 1.
2017-02-20 14:36:05 +02:00
Joe Topjian
6d4fc8d21a
provider/openstack: Don't allow floating IP and port ( #12099 )
...
This commit adds a check to prevent a user from specifying both
a floating IP and a port on a specific network. While this
configuration is currently allowed, the Port will be chosen and
applying the configuration again will show a state mismatch. This
attempts to prevent such a misconfiguration.
2017-02-20 14:32:28 +02:00
Joe Topjian
9188a80192
provider/openstack: Updates to openstack_images_image_v2 resource
...
This commit has a few more fixes to the recently added
openstack_images_image_v2 resource:
* tags were changed to a Set because the OpenStack Image API does
not seem to respect ordering.
* The visibility argument was fixed.
* Acceptance tests for all updatable fields has been implemented.
* Documentation updates, including a new entry in the sidebar.
2017-02-19 21:20:29 +00:00
Joe Topjian
96d2ac21d4
provider/openstack: Fix Creation of Empty Tags
...
This commit fixes a bug where images would be created with empty tags.
Acceptance tests were also tidied up.
2017-02-19 18:44:42 +00:00
Joe Topjian
b3b9247ad0
Merge pull request #11942 from yanndegat/master
...
Add resource_openstack_images_image_v2
2017-02-19 10:21:58 -07:00
netjunki
70f1113918
provider/aws: aws_ecs_service should output service name along with error ( #12072 )
2017-02-18 15:59:49 +02:00
Paddy
27c185e1c9
Merge pull request #12044 from sbadia/gcs_storage_class
...
doc: gcs - Update storage_class documentation and tests
2017-02-17 16:13:29 -08:00
Mike Fowler
bfdeae0e33
provider/google-cloud: Add maintenance window ( #12042 )
...
* provider/google-cloud: Add maintenance window
Allows specification of the `maintenance_window` within the `settings`
block. This controls when Google will restart a database in order to
apply updates. It is also possible to select an `update_track` to
relatively control updating between instances in the same project.
* Adjustments as suggested in code review.
2017-02-18 01:33:47 +02:00
clint shryock
be6ae20ac1
Merge branch 'pr-8299'
...
* pr-8299:
Patch up website docs
provider/dns: DNS dynamic updates (RFC 2136)
vendor: Capture new dependency miekg-dns
2017-02-17 17:02:37 -06:00
Paddy
672f496344
Merge pull request #12002 from hashicorp/paddy_catch_metadata_delete_error
...
provider/google: Check for errors when deleting project metadata.
2017-02-17 14:23:48 -08:00
Sean Chittenden
3127998ecd
Remove the AWS Access Key and Secret Access keys from the ( #12061 )
...
`consul_agent_self` data source.
Pro tip: update consul! I was using an old branch of Consul, not
`origin/master`.
2017-02-17 13:36:38 -08:00
Traver Tischio
84308439aa
provider/fastly Adds fastly response object ( #12032 )
...
* Adds basic schema for response object
* Updates based on differences in fastly response objects
* Refreshes and flattens fastly response object
* Tests fastly response object
* Adds documentation for a fastly response object
2017-02-17 10:36:05 -06:00
Clint
5353515f5b
Merge pull request #12025 from hashicorp/f-fastly-optional-backend
...
provider/fastly: Make Backends optional if used in VCL
2017-02-17 10:23:29 -06:00
David Harris
2ab6fcc16b
provider/aws: Elastic Beanstalk Application Version ( #5770 )
...
* Added new resource aws_elastic_beanstalk_application_version.
* Changing bucket and key to required.
* Update to use d.Id() directly in DescribeApplicationVersions.
* Checking err to make sure that the application version is successfully deleted.
* Update `version_label` to `Computed: true`.
* provider/aws: Updating to python solution stack
* provider/aws: Beanstalk App Version delete source
The Elastic Beanstalk API call to delete `application_version` resource
should not delete the s3 bundle, as this object is managed by another
Terraform resource
* provider/aws: Update application version docs
* Fix application version test
* Add `version_label` update test
Adds test that fails after rebasing branch onto v0.8.x. `version_label`
changes do not update the `aws_elastic_beanstalk_environment` resource.
* `version_label` changes to update environment
* Prevent unintended delete of `application_version`
Prevents an `application_version` used by multiple environments from
being deleted.
* Add `force_delete` attribute
* Update documentation
2017-02-17 17:54:07 +02:00
Jesse Szwedko
5b7e3701cb
[datadog] add support for new host delay to the datadog_monitor resource ( #11975 )
...
* [datadog] Update go-datadog-api library
Involves one breaking API change. Also some `gofmt`ing.
* [datadog] Add support for new_host_delay to the datadog_monitor resource
New API parameter that Datadog added for monitors to ignore new hosts
for the specified time period in monitor evaluation.
2017-02-17 17:08:31 +02:00
Sebastien Badia
e15f1628c2
doc: gcs - Update storage_class documentation and tests
...
`STANDARD` storage_class is now replaced by `MULTI_REGIONAL` depending
the bucket location. Same for `DURABLE_REDUCED_AVAILABILITY` replaced
by `REGIONAL`.
refs: https://cloud.google.com/storage/docs/storage-classes#standard
2017-02-17 15:59:25 +01:00
Yann DEGAT
e3a6b00db0
provider/openstack: Adding Image Resource
2017-02-17 09:35:16 +01:00
Sean Chittenden
5f3b6ffdb2
Add `consul_agent_self` docs and synchronize a few missing attributes.
2017-02-16 15:10:50 -08:00
clint shryock
896d1d30fb
provider/fastly: Make Fastly Service Backends optional
...
Backends must be defined in the config, but may optionally be declared
inside custom VCL. Here we mark Backends optional to enable that.
2017-02-16 16:22:41 -06:00
Sean Chittenden
dfb86a8983
Fix a `go vet` issue re: missing arg to `fmt.Sprintf`.
2017-02-16 14:08:15 -08:00
Sean Chittenden
99d91d1f28
Chase the update to the out parameter: `s/services/service/g`
2017-02-16 13:58:08 -08:00
Sean Chittenden
e7a8f25388
Push out the last of the docs and fixes for the `consul_catalog_nodes` data source.
2017-02-16 13:50:06 -08:00
Sean Chittenden
1c7a924258
Update and provide docs to the `consul_catalog_service` data source.
2017-02-16 13:50:06 -08:00
Sean Chittenden
9d06a47069
Add docs for the `consul_catalog_services` data source.
2017-02-16 13:50:06 -08:00
Sean Chittenden
b7c9dedf4e
Add a `consul_catalog_services` resource that enumerates the list of services in a given Consul datacenter.
2017-02-16 13:50:06 -08:00
Sean Chittenden
4003c47c71
Remove some accidentally leaked `q.Q()` calls from earlier debugging.x
2017-02-16 13:50:06 -08:00
Sean Chittenden
59925478c3
Add a `consul_catalog_service` resource to obtain detailed information about a specific Consul service.
2017-02-16 13:50:06 -08:00
Sean Chittenden
41e4208777
Commit miss: `s/query_opts/query_options/`
2017-02-16 13:50:05 -08:00
Sean Chittenden
974415d5cf
Move the query options schema into its own set and nested collection of attributes.
...
This is being done in advance of supporting the services data source.
2017-02-16 13:50:05 -08:00
Sean Chittenden
0d049026be
Remove unused helper functions.
2017-02-16 13:50:05 -08:00
Sean Chittenden
efb76b3374
Update the style of the `consul_catalog_nodes` data source.
2017-02-16 13:50:05 -08:00
Sean Chittenden
1476445593
Update `consul_catalog_nodes` to conform to normal resource guidelines.
2017-02-16 13:50:05 -08:00
Sean Chittenden
5567732814
Remove underscores from private identifiers that were not to be exported and strictly use lowercase letters instead.
2017-02-16 13:50:05 -08:00
Sean Chittenden
0d5ee1e953
Catch API drift with Consul.
2017-02-16 13:50:04 -08:00
Sean Chittenden
ac1294633a
Add a datasource for catalog nodes.
2017-02-16 13:50:04 -08:00
Sean Chittenden
db2f217f25
Change the signature of map writer to take a map that isn't a pointer. Force the use of `ToMap()` to retrieve the created `map[string]interface{}`.
2017-02-16 13:50:04 -08:00
Sean Chittenden
15fb969f3e
Add an attribute reader interface and a config reader implementation.
2017-02-16 13:50:04 -08:00
Sean Chittenden
77d7e25018
Remove stale code that would never be called at present.
2017-02-16 13:50:04 -08:00
Sean Chittenden
4b73ac7abe
Add the `circonus_agent_self` data source.
2017-02-16 13:50:04 -08:00
Erik Jansson
1f40e23c1c
provider/aws: Use proper Set for source.Auth in resource_aws_codebuild_project ( #11741 )
...
* provider/aws: Use proper Set for Source.Auth
* Adding auth to source in test
2017-02-16 23:18:18 +02:00
Clint
469216982d
Merge pull request #12023 from hashicorp/b-aws-test-fixes
...
provider/aws: Fix more lambda tests
2017-02-16 14:52:36 -06:00
clint shryock
fc5b7b9619
don't send qualifier if it's empty
2017-02-16 14:20:34 -06:00
clint shryock
da0d8d5817
random some lambda tests
2017-02-16 10:43:41 -06:00
Seth Vargo
5d79395354
Add a prefix option to random_id provider
2017-02-16 11:08:17 -05:00
Jake Champlin
555c8bb723
Merge pull request #12011 from hashicorp/f-fix-role-regexp
...
provider/aws: Fix matching regexp in invalid role config test
2017-02-16 10:32:00 -05:00
Jake Champlin
18bb3aade3
Merge pull request #11993 from hashicorp/b-fix-cloudflare-validator
...
provider/cloudflare: Fix record validation
2017-02-16 10:15:46 -05:00
Jake Champlin
c85a874e16
provider/aws: Fix matching regexp in invalid role config test
...
```
$ make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSRole_badJSON'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/16 10:08:07 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSRole_badJSON -timeout 120m
=== RUN TestAccAWSRole_badJSON
--- PASS: TestAccAWSRole_badJSON (0.00s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 0.011s
```
2017-02-16 10:14:25 -05:00
Paul Stack
546b424d7d
provider/aws: Allow aws_instances to be resized rather than forcing a ( #11998 )
...
new instance
Fixes : #9157
```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSInstance_changeInstanceType'
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/16 15:13:21 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSInstance_changeInstanceType -timeout 120m
=== RUN TestAccAWSInstance_changeInstanceType
--- PASS: TestAccAWSInstance_changeInstanceType (303.85s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 303.876s
```
2017-02-16 16:43:09 +02:00
Paul Stack
f81616d292
provider/statuscake: Fixing up the StatusCake acceptance tests ( #12006 )
...
```
% make testacc TEST=./builtin/providers/statuscake 2 ↵ ✹
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/02/16 15:30:40 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/statuscake -v -timeout 120m
=== RUN TestProvider
--- PASS: TestProvider (0.00s)
=== RUN TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN TestAccStatusCake_basic
--- PASS: TestAccStatusCake_basic (2.14s)
=== RUN TestAccStatusCake_tcp
--- PASS: TestAccStatusCake_tcp (1.66s)
=== RUN TestAccStatusCake_withUpdate
--- PASS: TestAccStatusCake_withUpdate (3.62s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/statuscake 7.435s
```
2017-02-16 16:20:23 +02:00
Jake Champlin
e052ded267
add missing return
2017-02-16 07:57:34 -05:00