Skip to content

Commit

Permalink
Add new resource Workload for Apphub (#10155) (#7088)
Browse files Browse the repository at this point in the history
* Add new resource Workload for Apphub

* Fix lint error

* Add billing account

* Remove extra delay from test

* Resolve comments

* Add handwritten update test

* Fix lint error

* Add data source changes

* Remove merged changes

* Remove merged changes

* Batch all update tests into one step to make test fast

* Add a delay between discovered resource fetch and managed instance group manager creation

* Add back org_id

* Update region from us-east1 to us-central1

* Use standard diff suppress function

---------




[upstream:ca62aed93eb3f92e915a5041fb0ab5c32ff99475]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Mar 13, 2024
1 parent 616840e commit b2a4b24
Show file tree
Hide file tree
Showing 7 changed files with 2,299 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/10155.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
`google_apphub_workload`
```
5 changes: 3 additions & 2 deletions google-beta/provider/provider_mmv1_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,9 @@ var handwrittenIAMDatasources = map[string]*schema.Resource{
}

// Resources
// Generated resources: 450
// Generated resources: 451
// Generated IAM resources: 267
// Total generated resources: 717
// Total generated resources: 718
var generatedResources = map[string]*schema.Resource{
"google_folder_access_approval_settings": accessapproval.ResourceAccessApprovalFolderSettings(),
"google_organization_access_approval_settings": accessapproval.ResourceAccessApprovalOrganizationSettings(),
Expand Down Expand Up @@ -504,6 +504,7 @@ var generatedResources = map[string]*schema.Resource{
"google_app_engine_standard_app_version": appengine.ResourceAppEngineStandardAppVersion(),
"google_apphub_application": apphub.ResourceApphubApplication(),
"google_apphub_service_project_attachment": apphub.ResourceApphubServiceProjectAttachment(),
"google_apphub_workload": apphub.ResourceApphubWorkload(),
"google_artifact_registry_repository": artifactregistry.ResourceArtifactRegistryRepository(),
"google_artifact_registry_repository_iam_binding": tpgiamresource.ResourceIamBinding(artifactregistry.ArtifactRegistryRepositoryIamSchema, artifactregistry.ArtifactRegistryRepositoryIamUpdaterProducer, artifactregistry.ArtifactRegistryRepositoryIdParseFunc),
"google_artifact_registry_repository_iam_member": tpgiamresource.ResourceIamMember(artifactregistry.ArtifactRegistryRepositoryIamSchema, artifactregistry.ArtifactRegistryRepositoryIamUpdaterProducer, artifactregistry.ArtifactRegistryRepositoryIdParseFunc),
Expand Down

0 comments on commit b2a4b24

Please sign in to comment.