providers/aws: working on id-only tests, no bugs found in these
resources
This commit is contained in:
parent
8d8cec3b57
commit
60103c083a
|
@ -27,9 +27,10 @@ func TestAccAWSSubnet_basic(t *testing.T) {
|
|||
}
|
||||
|
||||
resource.Test(t, resource.TestCase{
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckSubnetDestroy,
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
IDRefreshName: "aws_subnet.foo",
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckSubnetDestroy,
|
||||
Steps: []resource.TestStep{
|
||||
resource.TestStep{
|
||||
Config: testAccSubnetConfig,
|
||||
|
|
|
@ -14,7 +14,11 @@ func TestAccAWSDHCPOptionsAssociation_basic(t *testing.T) {
|
|||
var d ec2.DhcpOptions
|
||||
|
||||
resource.Test(t, resource.TestCase{
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
|
||||
DisableIDRefresh: true,
|
||||
IDRefreshName: "aws_vpc_dhcp_options_association.foo",
|
||||
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckDHCPOptionsAssociationDestroy,
|
||||
Steps: []resource.TestStep{
|
||||
|
|
|
@ -16,9 +16,10 @@ func TestAccAWSVpcEndpoint_basic(t *testing.T) {
|
|||
var endpoint ec2.VpcEndpoint
|
||||
|
||||
resource.Test(t, resource.TestCase{
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
IDRefreshName: "aws_vpc_endpoint.second-private-s3",
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||
Steps: []resource.TestStep{
|
||||
resource.TestStep{
|
||||
Config: testAccVpcEndpointWithRouteTableAndPolicyConfig,
|
||||
|
@ -35,9 +36,10 @@ func TestAccAWSVpcEndpoint_withRouteTableAndPolicy(t *testing.T) {
|
|||
var routeTable ec2.RouteTable
|
||||
|
||||
resource.Test(t, resource.TestCase{
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
IDRefreshName: "aws_vpc_endpoint.second-private-s3",
|
||||
Providers: testAccProviders,
|
||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||
Steps: []resource.TestStep{
|
||||
resource.TestStep{
|
||||
Config: testAccVpcEndpointWithRouteTableAndPolicyConfig,
|
||||
|
|
Loading…
Reference in New Issue