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{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
Providers: testAccProviders,
|
IDRefreshName: "aws_subnet.foo",
|
||||||
CheckDestroy: testAccCheckSubnetDestroy,
|
Providers: testAccProviders,
|
||||||
|
CheckDestroy: testAccCheckSubnetDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: testAccSubnetConfig,
|
Config: testAccSubnetConfig,
|
||||||
|
|
|
@ -14,7 +14,11 @@ func TestAccAWSDHCPOptionsAssociation_basic(t *testing.T) {
|
||||||
var d ec2.DhcpOptions
|
var d ec2.DhcpOptions
|
||||||
|
|
||||||
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{
|
||||||
|
|
|
@ -16,9 +16,10 @@ func TestAccAWSVpcEndpoint_basic(t *testing.T) {
|
||||||
var endpoint ec2.VpcEndpoint
|
var endpoint ec2.VpcEndpoint
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
Providers: testAccProviders,
|
IDRefreshName: "aws_vpc_endpoint.second-private-s3",
|
||||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
Providers: testAccProviders,
|
||||||
|
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: testAccVpcEndpointWithRouteTableAndPolicyConfig,
|
Config: testAccVpcEndpointWithRouteTableAndPolicyConfig,
|
||||||
|
@ -35,9 +36,10 @@ func TestAccAWSVpcEndpoint_withRouteTableAndPolicy(t *testing.T) {
|
||||||
var routeTable ec2.RouteTable
|
var routeTable ec2.RouteTable
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
Providers: testAccProviders,
|
IDRefreshName: "aws_vpc_endpoint.second-private-s3",
|
||||||
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
Providers: testAccProviders,
|
||||||
|
CheckDestroy: testAccCheckVpcEndpointDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: testAccVpcEndpointWithRouteTableAndPolicyConfig,
|
Config: testAccVpcEndpointWithRouteTableAndPolicyConfig,
|
||||||
|
|
Loading…
Reference in New Issue