provider/aws: code review feedback

This commit is contained in:
Raphael Randschau 2017-02-01 06:46:18 +01:00 committed by Raphael Randschau
parent 1e847c2148
commit acb55ecc1b
1 changed files with 2 additions and 3 deletions

View File

@ -2,10 +2,9 @@ package aws
import ( import (
"fmt" "fmt"
"math/rand"
"testing" "testing"
"time"
"github.com/hashicorp/terraform/helper/acctest"
"github.com/hashicorp/terraform/helper/resource" "github.com/hashicorp/terraform/helper/resource"
) )
@ -58,4 +57,4 @@ resource "aws_ecs_service" "mongo" {
data "aws_ecs_cluster" "default" { data "aws_ecs_cluster" "default" {
cluster_name = "${aws_ecs_cluster.default.name}" cluster_name = "${aws_ecs_cluster.default.name}"
} }
`, rand.New(rand.NewSource(time.Now().UnixNano())).Int()) `, acctest.RandInt())