providers/aws: route53_health_check id-only
This commit is contained in:
parent
2274bb8c4a
commit
f2d91f0c2b
|
@ -246,7 +246,7 @@ func resourceAwsRoute53HealthCheckRead(d *schema.ResourceData, meta interface{})
|
||||||
d.Set("port", updated.Port)
|
d.Set("port", updated.Port)
|
||||||
d.Set("resource_path", updated.ResourcePath)
|
d.Set("resource_path", updated.ResourcePath)
|
||||||
d.Set("measure_latency", updated.MeasureLatency)
|
d.Set("measure_latency", updated.MeasureLatency)
|
||||||
d.Set("invent_healthcheck", updated.Inverted)
|
d.Set("invert_healthcheck", updated.Inverted)
|
||||||
d.Set("child_healthchecks", updated.ChildHealthChecks)
|
d.Set("child_healthchecks", updated.ChildHealthChecks)
|
||||||
d.Set("child_health_threshold", updated.HealthThreshold)
|
d.Set("child_health_threshold", updated.HealthThreshold)
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ import (
|
||||||
func TestAccAWSRoute53HealthCheck_basic(t *testing.T) {
|
func TestAccAWSRoute53HealthCheck_basic(t *testing.T) {
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
|
IDRefreshName: "aws_route53_health_check.foo",
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
CheckDestroy: testAccCheckRoute53HealthCheckDestroy,
|
CheckDestroy: testAccCheckRoute53HealthCheckDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
|
|
Loading…
Reference in New Issue