Skip to content

Commit

Permalink
tests/r/servicecatalog_portfolio_share: Remove hardcoded partition
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed May 7, 2021
1 parent 8b2b2d2 commit ab97a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/resource_aws_servicecatalog_portfolio_share_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func TestAccAWSServiceCatalogPortfolioShare_organization(t *testing.T) {
testAccCheckAwsServiceCatalogPortfolioShareExists(resourceName),
resource.TestCheckResourceAttr(resourceName, "accept_language", "en"),
resource.TestCheckResourceAttr(resourceName, "accepted", "true"),
resource.TestCheckResourceAttr(resourceName, "principal_id", "arn:aws:organizations::111122223333:organization/o-abcdefghijkl"),
resource.TestCheckResourceAttr(resourceName, "principal_id", fmt.Sprintf("arn:%s:organizations::111122223333:organization/o-abcdefghijkl", testAccGetPartition())),
resource.TestCheckResourceAttrPair(resourceName, "portfolio_id", compareName, "id"),
resource.TestCheckResourceAttr(resourceName, "share_tag_options", "true"),
resource.TestCheckResourceAttr(resourceName, "type", servicecatalog.DescribePortfolioShareTypeOrganization),
Expand Down

0 comments on commit ab97a3f

Please sign in to comment.