Skip to content

Commit

Permalink
Added support for project-level custom modules (#8993) (#6315)
Browse files Browse the repository at this point in the history
* Added support for project-level custom modules

Related to b/296259216

* gofmt

* Added client-side validation of display_name

* Fixed expressions in update test

* Added mutex

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Sep 19, 2023
1 parent f65d714 commit b58487b
Show file tree
Hide file tree
Showing 7 changed files with 1,679 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/8993.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
`google_scc_project_custom_module`
```
5 changes: 3 additions & 2 deletions google-beta/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1121,9 +1121,9 @@ func DatasourceMapWithErrors() (map[string]*schema.Resource, error) {
})
}

// Generated resources: 388
// Generated resources: 389
// Generated IAM resources: 240
// Total generated resources: 628
// Total generated resources: 629
func ResourceMap() map[string]*schema.Resource {
resourceMap, _ := ResourceMapWithErrors()
return resourceMap
Expand Down Expand Up @@ -1682,6 +1682,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
"google_secret_manager_secret_version": secretmanager.ResourceSecretManagerSecretVersion(),
"google_scc_mute_config": securitycenter.ResourceSecurityCenterMuteConfig(),
"google_scc_notification_config": securitycenter.ResourceSecurityCenterNotificationConfig(),
"google_scc_project_custom_module": securitycenter.ResourceSecurityCenterProjectCustomModule(),
"google_scc_source": securitycenter.ResourceSecurityCenterSource(),
"google_scc_source_iam_binding": tpgiamresource.ResourceIamBinding(securitycenter.SecurityCenterSourceIamSchema, securitycenter.SecurityCenterSourceIamUpdaterProducer, securitycenter.SecurityCenterSourceIdParseFunc),
"google_scc_source_iam_member": tpgiamresource.ResourceIamMember(securitycenter.SecurityCenterSourceIamSchema, securitycenter.SecurityCenterSourceIamUpdaterProducer, securitycenter.SecurityCenterSourceIdParseFunc),
Expand Down
Loading

0 comments on commit b58487b

Please sign in to comment.