providers/aws: working on id-only tests, no bugs found in these
resources
This commit is contained in:
parent
8d8cec3b57
commit
60103c083a
|
@ -28,6 +28,7 @@ func TestAccAWSSubnet_basic(t *testing.T) {
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
|
IDRefreshName: "aws_subnet.foo",
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
CheckDestroy: testAccCheckSubnetDestroy,
|
CheckDestroy: testAccCheckSubnetDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
|
|
|
@ -15,6 +15,10 @@ func TestAccAWSDHCPOptionsAssociation_basic(t *testing.T) {
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
|
|
||||||
|
DisableIDRefresh: true,
|
||||||
|
IDRefreshName: "aws_vpc_dhcp_options_association.foo",
|
||||||
|
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
CheckDestroy: testAccCheckDHCPOptionsAssociationDestroy,
|
CheckDestroy: testAccCheckDHCPOptionsAssociationDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
|
|
|
@ -17,6 +17,7 @@ func TestAccAWSVpcEndpoint_basic(t *testing.T) {
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
|
IDRefreshName: "aws_vpc_endpoint.second-private-s3",
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
|
@ -36,6 +37,7 @@ func TestAccAWSVpcEndpoint_withRouteTableAndPolicy(t *testing.T) {
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
|
IDRefreshName: "aws_vpc_endpoint.second-private-s3",
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
|
|
Loading…
Reference in New Issue