Skip to content

Commit

Permalink
Merge pull request #36323 from markoskandylis/feature/subscriber-noti…
Browse files Browse the repository at this point in the history
…fication

Feature/subscriber notification
  • Loading branch information
ewbankkit authored Mar 14, 2024
2 parents 1957a85 + a216f5d commit 9648935
Show file tree
Hide file tree
Showing 7 changed files with 877 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .changelog/36323.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
aws_securitylake_subscriber_notification
```
18 changes: 10 additions & 8 deletions internal/service/securitylake/exports_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ package securitylake

// Exports for use in tests only.
var (
ResourceAWSLogSource = newAWSLogSourceResource
ResourceCustomLogSource = newCustomLogSourceResource
ResourceDataLake = newDataLakeResource
ResourceSubscriber = newSubscriberResource
ResourceAWSLogSource = newAWSLogSourceResource
ResourceCustomLogSource = newCustomLogSourceResource
ResourceDataLake = newDataLakeResource
ResourceSubscriber = newSubscriberResource
ResourceSubscriberNotification = newSubscriberNotificationResource

FindAWSLogSourceBySourceName = findAWSLogSourceBySourceName
FindCustomLogSourceBySourceName = findCustomLogSourceBySourceName
FindDataLakeByARN = findDataLakeByARN
FindSubscriberByID = findSubscriberByID
FindAWSLogSourceBySourceName = findAWSLogSourceBySourceName
FindCustomLogSourceBySourceName = findCustomLogSourceBySourceName
FindDataLakeByARN = findDataLakeByARN
FindSubscriberByID = findSubscriberByID
FindSubscriberNotificationByEndPointID = findSubscriberNotificationByEndPointID
)
6 changes: 6 additions & 0 deletions internal/service/securitylake/securitylake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ func TestAccSecurityLake_serial(t *testing.T) {
"tags": testAccSubscriber_tags,
"updated": testAccSubscriber_update,
},
"SubscriberNotification": {
"basic": testAccSubscriberNotification_basic,
"https": testAccSubscriberNotification_https,
"disappears": testAccSubscriberNotification_disappears,
"update": testAccSubscriberNotification_update,
},
}

acctest.RunSerialTests2Levels(t, testCases, 0)
Expand Down
4 changes: 4 additions & 0 deletions internal/service/securitylake/service_package_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9648935

Please sign in to comment.