provider/aws: ebs_volume id-only tests
This commit is contained in:
parent
f0511631bf
commit
f394ce1ef3
|
@ -13,8 +13,9 @@ import (
|
||||||
func TestAccAWSEBSVolume_basic(t *testing.T) {
|
func TestAccAWSEBSVolume_basic(t *testing.T) {
|
||||||
var v ec2.Volume
|
var v ec2.Volume
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
Providers: testAccProviders,
|
IDRefreshName: "aws_ebs_volume.test",
|
||||||
|
Providers: testAccProviders,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: testAccAwsEbsVolumeConfig,
|
Config: testAccAwsEbsVolumeConfig,
|
||||||
|
@ -29,8 +30,9 @@ func TestAccAWSEBSVolume_basic(t *testing.T) {
|
||||||
func TestAccAWSEBSVolume_NoIops(t *testing.T) {
|
func TestAccAWSEBSVolume_NoIops(t *testing.T) {
|
||||||
var v ec2.Volume
|
var v ec2.Volume
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
Providers: testAccProviders,
|
IDRefreshName: "aws_ebs_volume.iops_test",
|
||||||
|
Providers: testAccProviders,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: testAccAwsEbsVolumeConfigWithNoIops,
|
Config: testAccAwsEbsVolumeConfigWithNoIops,
|
||||||
|
@ -45,8 +47,9 @@ func TestAccAWSEBSVolume_NoIops(t *testing.T) {
|
||||||
func TestAccAWSEBSVolume_withTags(t *testing.T) {
|
func TestAccAWSEBSVolume_withTags(t *testing.T) {
|
||||||
var v ec2.Volume
|
var v ec2.Volume
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
PreCheck: func() { testAccPreCheck(t) },
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
Providers: testAccProviders,
|
IDRefreshName: "aws_ebs_volume.tags_test",
|
||||||
|
Providers: testAccProviders,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
resource.TestStep{
|
resource.TestStep{
|
||||||
Config: testAccAwsEbsVolumeConfigWithTags,
|
Config: testAccAwsEbsVolumeConfigWithTags,
|
||||||
|
|
Loading…
Reference in New Issue