27 lines
468 B
Go
27 lines
468 B
Go
package aws
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/terraform/helper/resource"
|
|
)
|
|
|
|
func TestAccAWSEBSVolume(t *testing.T) {
|
|
resource.Test(t, resource.TestCase{
|
|
PreCheck: func() { testAccPreCheck(t) },
|
|
Providers: testAccProviders,
|
|
Steps: []resource.TestStep{
|
|
resource.TestStep{
|
|
Config: testAccAwsEbsVolumeConfig,
|
|
},
|
|
},
|
|
})
|
|
}
|
|
|
|
const testAccAwsEbsVolumeConfig = `
|
|
resource "aws_ebs_volume" "test" {
|
|
availability_zone = "us-west-2a"
|
|
size = 1
|
|
}
|
|
`
|