Skip to content

Commit

Permalink
No MQ in GovCloud.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jun 1, 2021
1 parent 2e077d9 commit 7c9c511
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions aws/resource_aws_lambda_event_source_mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ func TestAccAWSLambdaEventSourceMapping_MSK(t *testing.T) {
rName := acctest.RandomWithPrefix("tf-acc-test")

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
PreCheck: func() { testAccPreCheck(t); testAccPreCheckAWSMsk(t) },
ErrorCheck: testAccErrorCheck(t, lambda.EndpointsID, "kafka"),
Providers: testAccProviders,
CheckDestroy: testAccCheckLambdaEventSourceMappingDestroy,
Expand Down Expand Up @@ -783,7 +783,12 @@ func TestAccAWSLambdaEventSourceMapping_ActiveMQ(t *testing.T) {
rName := acctest.RandomWithPrefix("tf-acc-test")

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
PreCheck: func() {
testAccPreCheck(t)
testAccPreCheckAWSSecretsManager(t)
testAccPartitionHasServicePreCheck("mq", t)
testAccPreCheckAWSMq(t)
},
ErrorCheck: testAccErrorCheck(t, lambda.EndpointsID, "mq", "secretsmanager"),
Providers: testAccProviders,
CheckDestroy: testAccCheckLambdaEventSourceMappingDestroy,
Expand Down

0 comments on commit 7c9c511

Please sign in to comment.