Skip to content

Commit 6527273

Browse files
Support ability to create "non-custom" services (#6604) (#12796)
* Support ability to create "non-custom" services Allow users to create various Service Monitoring services: App Engine, Cloud Run, etc. #11935 * Specify BasicService is immutable * Responding to review comments. * Add test; make service_id required * labels still need input: true; remove encoder * Correct typo * Ignore service fields in SLO import test * Correct test * Make id_format and import_format the same * Remove custom code * Correct test typo * service is actually input-only * Add resource test Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
1 parent 9775c20 commit 6527273

8 files changed

+973
-2
lines changed

.changelog/6604.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:new-resource
2+
google_monitoring_generic_service
3+
```

google/provider.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -900,9 +900,9 @@ func Provider() *schema.Provider {
900900
return provider
901901
}
902902

903-
// Generated resources: 236
903+
// Generated resources: 237
904904
// Generated IAM resources: 138
905-
// Total generated resources: 374
905+
// Total generated resources: 375
906906
func ResourceMap() map[string]*schema.Resource {
907907
resourceMap, _ := ResourceMapWithErrors()
908908
return resourceMap
@@ -1196,6 +1196,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
11961196
"google_monitoring_group": resourceMonitoringGroup(),
11971197
"google_monitoring_notification_channel": resourceMonitoringNotificationChannel(),
11981198
"google_monitoring_custom_service": resourceMonitoringService(),
1199+
"google_monitoring_service": resourceMonitoringGenericService(),
11991200
"google_monitoring_slo": resourceMonitoringSlo(),
12001201
"google_monitoring_uptime_check_config": resourceMonitoringUptimeCheckConfig(),
12011202
"google_monitoring_metric_descriptor": resourceMonitoringMetricDescriptor(),

0 commit comments

Comments
 (0)