diff --git a/x-pack/functionbeat/manager/gcp/template_builder.go b/x-pack/functionbeat/manager/gcp/template_builder.go index 1cbad561655..da13f8eb8d5 100644 --- a/x-pack/functionbeat/manager/gcp/template_builder.go +++ b/x-pack/functionbeat/manager/gcp/template_builder.go @@ -165,7 +165,7 @@ func (d *defaultTemplateBuilder) RawTemplate(name string) (string, error) { "resources": []common.MapStr{ common.MapStr{ "name": fmt.Sprintf(functionName, d.gcpConfig.ProjectID, d.gcpConfig.Location, name), - "type": "cloudfunctions.v1beta2.function", // TODO + "type": "google.cloud.functions.v1.CloudFunction", "properties": properties, }, },