Skip to content

Commit

Permalink
Only enable log_config for backend service, not region backend service
Browse files Browse the repository at this point in the history
  • Loading branch information
slevenick committed Sep 13, 2019
1 parent c9db7af commit 787cd6d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
18 changes: 0 additions & 18 deletions products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1143,24 +1143,6 @@ objects:
default_value: :INTERNAL
values:
- :INTERNAL
- !ruby/object:Api::Type::NestedObject
name: 'logConfig'
min_version: beta
description: |
This field denotes the logging options for the load balancer traffic served by this backend service.
If logging is enabled, logs will be exported to Stackdriver.
properties:
- !ruby/object:Api::Type::Boolean
name: 'enable'
description: |
Whether to enable logging for the load balancer traffic served by this backend service.
- !ruby/object:Api::Type::Double
name: 'sampleRate'
description: |
This field can only be specified if logging is enabled for this backend service. The value of
the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer
where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported.
The default value is 1.0.
- !ruby/object:Api::Resource
name: 'BackendServiceSignedUrlKey'
kind: 'compute#BackendServiceSignedUrlKey'
Expand Down
7 changes: 0 additions & 7 deletions products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,6 @@ overrides: !ruby/object:Overrides::ResourceOverrides
vars:
region_backend_service_name: "region-backend-service"
health_check_name: "health-check"
- !ruby/object:Provider::Terraform::Examples
name: "region_backend_service_log_config"
min_version: beta
primary_resource_id: "default"
vars:
region_backend_service_name: "region-backend-service"
health_check_name: "health-check"
custom_code: !ruby/object:Provider::Terraform::CustomCode
constants: 'templates/terraform/constants/migrate_state_noop.go.erb'
resource_definition: 'templates/terraform/resource_definition/region_backend_service.go.erb'
Expand Down

This file was deleted.

0 comments on commit 787cd6d

Please sign in to comment.