|
7 | 7 | "context"
|
8 | 8 | "testing"
|
9 | 9 |
|
| 10 | + "github.com/aws/aws-sdk-go-v2/aws" |
10 | 11 | "github.com/aws/aws-sdk-go-v2/service/securitylake"
|
11 | 12 | awstypes "github.com/aws/aws-sdk-go-v2/service/securitylake/types"
|
12 |
| - "github.com/aws/aws-sdk-go/aws" |
13 | 13 | "github.com/hashicorp/aws-sdk-go-base/v2/tfawserr"
|
14 | 14 | "github.com/hashicorp/terraform-provider-aws/internal/acctest"
|
15 | 15 | "github.com/hashicorp/terraform-provider-aws/internal/conns"
|
@@ -61,10 +61,12 @@ func TestAccSecurityLake_serial(t *testing.T) {
|
61 | 61 | "migrateSource": testAccSubscriber_migrate_source,
|
62 | 62 | },
|
63 | 63 | "SubscriberNotification": {
|
64 |
| - "basic": testAccSubscriberNotification_basic, |
65 |
| - "https": testAccSubscriberNotification_https, |
66 |
| - "disappears": testAccSubscriberNotification_disappears, |
67 |
| - "update": testAccSubscriberNotification_update, |
| 64 | + "disappears": testAccSubscriberNotification_disappears, |
| 65 | + "https_basic": testAccSubscriberNotification_https_basic, |
| 66 | + "update": testAccSubscriberNotification_update, |
| 67 | + "sqs_basic": testAccSubscriberNotification_sqs_basic, |
| 68 | + "apiKeyNameOnly": testAccSubscriberNotification_https_apiKeyNameOnly, |
| 69 | + "apiKey": testAccSubscriberNotification_https_apiKey, |
68 | 70 | },
|
69 | 71 | }
|
70 | 72 |
|
@@ -92,7 +94,7 @@ func testAccPreCheck(ctx context.Context, t *testing.T) {
|
92 | 94 | t.Fatalf("getting current identity: %s", err)
|
93 | 95 | }
|
94 | 96 |
|
95 |
| - if aws.StringValue(organization.MasterAccountId) == aws.StringValue(callerIdentity.Account) { |
| 97 | + if aws.ToString(organization.MasterAccountId) == aws.ToString(callerIdentity.Account) { |
96 | 98 | t.Skip("this AWS account must not be the management account of an AWS Organization")
|
97 | 99 | }
|
98 | 100 |
|
|
0 commit comments