Skip to content

Commit

Permalink
appstream
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Jan 7, 2025
1 parent b17714d commit 8939b41
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/service/appstream/image_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package appstream_test
import (
"testing"

awstypes "github.com/aws/aws-sdk-go-v2/service/appstream/types"
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
"github.com/hashicorp/terraform-provider-aws/internal/acctest"
"github.com/hashicorp/terraform-provider-aws/names"
Expand All @@ -32,16 +33,16 @@ func TestAccAppStreamImageDataSource_basic(t *testing.T) {

resource.TestCheckResourceAttrSet(dataSourceName, "applications.#"),
resource.TestCheckResourceAttrSet(dataSourceName, "appstream_agent_version"),
resource.TestCheckResourceAttrSet(dataSourceName, names.AttrARN),
resource.TestCheckResourceAttrSet(dataSourceName, names.AttrARN), // nosemgrep:ci.semgrep.acctest.checks.arn-resourceattrset
resource.TestCheckResourceAttrSet(dataSourceName, names.AttrCreatedTime),
resource.TestCheckResourceAttrSet(dataSourceName, names.AttrDescription),
resource.TestCheckResourceAttrSet(dataSourceName, names.AttrDisplayName),
resource.TestCheckResourceAttrSet(dataSourceName, "image_builder_supported"),
resource.TestCheckResourceAttrSet(dataSourceName, names.AttrName),
resource.TestCheckResourceAttrSet(dataSourceName, "name_regex"),
resource.TestCheckResourceAttr(dataSourceName, "name_regex", "^AppStream-WinServer.*$"),
resource.TestCheckResourceAttrSet(dataSourceName, "platform"),
resource.TestCheckResourceAttrSet(dataSourceName, "public_base_image_released_date"),
resource.TestCheckResourceAttrSet(dataSourceName, names.AttrType),
resource.TestCheckResourceAttr(dataSourceName, names.AttrType, string(awstypes.VisibilityTypePublic)),
),
},
},
Expand Down

0 comments on commit 8939b41

Please sign in to comment.