Chase the update to the out parameter: `s/services/service/g`
This commit is contained in:
parent
e7a8f25388
commit
99d91d1f28
|
@ -15,20 +15,20 @@ func TestAccDataConsulCatalogService_basic(t *testing.T) {
|
||||||
Config: testAccDataConsulCatalogServiceConfig,
|
Config: testAccDataConsulCatalogServiceConfig,
|
||||||
Check: resource.ComposeTestCheckFunc(
|
Check: resource.ComposeTestCheckFunc(
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "datacenter", "dc1"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "datacenter", "dc1"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.#", "1"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.#", "1"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.address", "<all>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.address", "<all>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.create_index", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.create_index", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.enable_tag_override", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.enable_tag_override", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.id", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.id", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.modify_index", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.modify_index", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.name", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.name", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_address", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_address", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_id", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_id", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_meta.%", "0"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_meta.%", "0"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.node_name", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.node_name", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.port", "<any>"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.port", "<any>"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.tagged_addresses.%", "2"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.tagged_addresses.%", "2"),
|
||||||
testAccCheckDataSourceValue("data.consul_catalog_service.read", "services.0.tags.#", "0"),
|
testAccCheckDataSourceValue("data.consul_catalog_service.read", "service.0.tags.#", "0"),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue