terraform/builtin/providers/consul
Daniel Portella c2370c574e Fixes for consul_service resource (#9366)
Added `service_id` in place of `id` for resource.
modified created, read, update to use `service_id`
modified tests to include `service_id`.
modified documentation for consul_service to include new value.

Tests results

CONSUL_HTTP_ADDR=localhost:8500 make testacc TEST=./builtin/providers/consul/

==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/10/14 14:43:05 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/consul/ -v  -timeout 120m
=== RUN   TestAccDataConsulKeys_basic
--- PASS: TestAccDataConsulKeys_basic (0.05s)
=== RUN   TestAccConsulAgentService_basic
--- PASS: TestAccConsulAgentService_basic (0.05s)
=== RUN   TestAccConsulCatalogEntry_basic
--- PASS: TestAccConsulCatalogEntry_basic (0.06s)
=== RUN   TestAccConsulKeyPrefix_basic
--- PASS: TestAccConsulKeyPrefix_basic (0.19s)
=== RUN   TestConsulKeysMigrateState
--- PASS: TestConsulKeysMigrateState (0.00s)
=== RUN   TestConsulKeysMigrateState_empty
--- PASS: TestConsulKeysMigrateState_empty (0.00s)
=== RUN   TestAccConsulKeys_basic
--- PASS: TestAccConsulKeys_basic (0.13s)
=== RUN   TestAccConsulNode_basic
--- PASS: TestAccConsulNode_basic (0.05s)
=== RUN   TestAccConsulPreparedQuery_basic
--- PASS: TestAccConsulPreparedQuery_basic (0.12s)
=== RUN   TestAccConsulService_basic
--- PASS: TestAccConsulService_basic (0.05s)
=== RUN   TestResourceProvider
--- PASS: TestResourceProvider (0.00s)
=== RUN   TestResourceProvider_impl
--- PASS: TestResourceProvider_impl (0.00s)
=== RUN   TestResourceProvider_Configure
--- PASS: TestResourceProvider_Configure (0.00s)
=== RUN   TestResourceProvider_ConfigureTLS
--- PASS: TestResourceProvider_ConfigureTLS (0.00s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/consul	0.708s

Refs: #9352
2016-10-26 13:07:00 +01:00
..
test-fixtures #7013 add tls config support to consul provider (#7015) 2016-08-12 12:22:41 +10:00
config.go #7013 add tls config support to consul provider (#7015) 2016-08-12 12:22:41 +10:00
data_source_consul_keys.go provider/consul: consul_keys data source (#7678) 2016-07-26 18:23:38 +01:00
data_source_consul_keys_test.go provider/consul: consul_keys data source (#7678) 2016-07-26 18:23:38 +01:00
key_client.go consul_key_prefix resource 2016-04-02 20:37:11 -07:00
resource_consul_agent_service.go #2087 gracefully handle non-presence of service on remote consul agent 2016-07-06 08:29:47 -04:00
resource_consul_agent_service_test.go finish tests and add docs for consul_{agent_service,catalog_entry} 2016-01-25 00:15:09 +00:00
resource_consul_catalog_entry.go merge master 2016-03-27 02:14:07 +00:00
resource_consul_catalog_entry_test.go finish tests and add docs for consul_{agent_service,catalog_entry} 2016-01-25 00:15:09 +00:00
resource_consul_key_prefix.go consul_key_prefix resource 2016-04-02 20:37:11 -07:00
resource_consul_key_prefix_test.go consul_key_prefix resource 2016-04-02 20:37:11 -07:00
resource_consul_keys.go provider/consul: consul_keys data source (#7678) 2016-07-26 18:23:38 +01:00
resource_consul_keys_migrate.go consul: Fix several problems w/ consul_keys update 2016-01-26 14:46:26 -06:00
resource_consul_keys_migrate_test.go consul: Fix several problems w/ consul_keys update 2016-01-26 14:46:26 -06:00
resource_consul_keys_test.go Treat each consul key as having its own lifecycle 2016-03-10 07:52:43 -08:00
resource_consul_node.go #2087 add consul_node and consul_service resources 2016-03-27 03:58:12 +00:00
resource_consul_node_test.go provider/consul: Fixing the ConsulNode_basic tests to have the correct references 2016-07-26 18:31:38 +01:00
resource_consul_prepared_query.go Adds consul_prepared_query resource (#7474) 2016-08-18 08:46:30 +01:00
resource_consul_prepared_query_test.go Adds consul_prepared_query resource (#7474) 2016-08-18 08:46:30 +01:00
resource_consul_service.go Fixes for consul_service resource (#9366) 2016-10-26 13:07:00 +01:00
resource_consul_service_test.go Fixes for consul_service resource (#9366) 2016-10-26 13:07:00 +01:00
resource_provider.go Make consul provider settings truly optional 2016-08-30 08:28:03 -05:00
resource_provider_test.go #7013 add tls config support to consul provider (#7015) 2016-08-12 12:22:41 +10:00