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("resource_path", updated.ResourcePath)
|
||||
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_health_threshold", updated.HealthThreshold)
|
||||
|
||||
|
|
|
@ -12,9 +12,10 @@ import (
|
|||
|
||||
func TestAccAWSRoute53HealthCheck_basic(t *testing.T) {
|
||||
resource.Test(t, resource.TestCase{
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckRoute53HealthCheckDestroy,
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
IDRefreshName: "aws_route53_health_check.foo",
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckRoute53HealthCheckDestroy,
|
||||
Steps: []resource.TestStep{
|
||||
resource.TestStep{
|
||||
Config: testAccRoute53HealthCheckConfig,
|
||||
|
|
Loading…
Reference in New Issue