Skip to content

Commit

Permalink
Added google_scc_folder_custom_module resource (#9024) (#15979)
Browse files Browse the repository at this point in the history
* Added google_scc_folder_custom_module resource

* Made folder display name random

* Added sleep to tests to deal with iam propagation

* Added missing external providers for update test

* added missing folder argument

* Fixed check for empty sleep value

* Fixed other check for empty sleep value

* gofmt

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

// Generated resources: 326
// Generated resources: 327
// Generated IAM resources: 210
// Total generated resources: 536
// Total generated resources: 537
func ResourceMap() map[string]*schema.Resource {
resourceMap, _ := ResourceMapWithErrors()
return resourceMap
Expand Down Expand Up @@ -1476,6 +1476,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
"google_secret_manager_secret_iam_member": tpgiamresource.ResourceIamMember(secretmanager.SecretManagerSecretIamSchema, secretmanager.SecretManagerSecretIamUpdaterProducer, secretmanager.SecretManagerSecretIdParseFunc),
"google_secret_manager_secret_iam_policy": tpgiamresource.ResourceIamPolicy(secretmanager.SecretManagerSecretIamSchema, secretmanager.SecretManagerSecretIamUpdaterProducer, secretmanager.SecretManagerSecretIdParseFunc),
"google_secret_manager_secret_version": secretmanager.ResourceSecretManagerSecretVersion(),
"google_scc_folder_custom_module": securitycenter.ResourceSecurityCenterFolderCustomModule(),
"google_scc_mute_config": securitycenter.ResourceSecurityCenterMuteConfig(),
"google_scc_notification_config": securitycenter.ResourceSecurityCenterNotificationConfig(),
"google_scc_project_custom_module": securitycenter.ResourceSecurityCenterProjectCustomModule(),
Expand Down
Loading

0 comments on commit e07be00

Please sign in to comment.