provider/aws: code review feedback
This commit is contained in:
parent
1e847c2148
commit
acb55ecc1b
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue