cloud-foundation-fabric/tests/modules/endpoints/examples/simple.yaml

33 lines
1.4 KiB
YAML

# Copyright 2023 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.endpoint.google_endpoints_service.default:
openapi_config: "# tftest-file id=openapi path=configs/endpoints/openapi.yaml\n\
swagger: \"2.0\"\ninfo:\n description: \"A simple Google Cloud Endpoints API\
\ example.\"\n title: \"Endpoints Example\"\n version: \"1.0.0\"\nhost: \"\
echo-api.endpoints.YOUR-PROJECT-ID.cloud.goog\"\n"
project: my-project
service_name: YOUR-API.endpoints.YOUR-PROJECT-ID.cloud.goog
module.endpoint.google_endpoints_service_iam_binding.default["servicemanagement.serviceController"]:
condition: []
members:
- serviceAccount:123456890-compute@developer.gserviceaccount.com
role: servicemanagement.serviceController
service_name: YOUR-API.endpoints.YOUR-PROJECT-ID.cloud.goog
counts:
google_endpoints_service: 1
google_endpoints_service_iam_binding: 1