Skip to content

Commit

Permalink
Readd credentials group checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrique Santos committed Oct 12, 2023
1 parent 6aed095 commit c686d82
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions stackit/internal/services/objectstorage/objectstorage_acc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,21 @@ func TestAccObjectStorageResource(t *testing.T) {
"data.stackit_objectstorage_bucket.bucket", "url_virtual_hosted_style",
),

// Credentials group data
resource.TestCheckResourceAttr("data.stackit_objectstorage_credentials_group.credentials_group", "project_id", credentialsGroupResource["project_id"]),
resource.TestCheckResourceAttrPair(
"stackit_objectstorage_credentials_group.credentials_group", "credentials_group_id",
"data.stackit_objectstorage_credentials_group.credentials_group", "credentials_group_id",
),
resource.TestCheckResourceAttrPair(
"stackit_objectstorage_credentials_group.credentials_group", "name",
"data.stackit_objectstorage_credentials_group.credentials_group", "name",
),
resource.TestCheckResourceAttrPair(
"stackit_objectstorage_credentials_group.credentials_group", "urn",
"data.stackit_objectstorage_credentials_group.credentials_group", "urn",
),

// Credential group data
resource.TestCheckResourceAttrPair(
"stackit_objectstorage_credential.credential", "project_id",
Expand Down

0 comments on commit c686d82

Please sign in to comment.