Skip to content

Commit 182bee2

Browse files
committed
add arn check
1 parent 519b649 commit 182bee2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

aws/resource_aws_elastic_transcoder_pipeline_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package aws
33
import (
44
"fmt"
55
"reflect"
6+
"regexp"
67
"sort"
78
"testing"
89

@@ -28,6 +29,7 @@ func TestAccAWSElasticTranscoderPipeline_basic(t *testing.T) {
2829
Config: awsElasticTranscoderPipelineConfigBasic(rName),
2930
Check: resource.ComposeTestCheckFunc(
3031
testAccCheckAWSElasticTranscoderPipelineExists(resourceName, pipeline),
32+
testAccMatchResourceAttrRegionalARN(resourceName, "arn", "elastictranscoder", regexp.MustCompile(`pipeline/.+`)),
3133
),
3234
},
3335
{

0 commit comments

Comments
 (0)