add instance access logging support to apigee module (#3321)
This commit is contained in:
committed by
GitHub
parent
a795399142
commit
138bb981e3
32
tests/modules/apigee/examples/access-logging.yaml
Normal file
32
tests/modules/apigee/examples/access-logging.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
values:
|
||||
module.apigee.google_apigee_instance.instances["europe-west1"]:
|
||||
access_logging_config:
|
||||
- enabled: true
|
||||
filter: statusCode >= 200 && statusCode < 300
|
||||
description: Terraform-managed
|
||||
disk_encryption_key_name: null
|
||||
display_name: null
|
||||
ip_range: 10.0.4.0/22,10.1.1.0/28
|
||||
location: europe-west1
|
||||
name: instance-europe-west1
|
||||
org_id: organizations/my-project
|
||||
timeouts: null
|
||||
|
||||
counts:
|
||||
google_apigee_instance: 1
|
||||
modules: 1
|
||||
resources: 1
|
||||
Reference in New Issue
Block a user