Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/subscriber notification #36323

Merged
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
Loading