infra/modules/storage/metadata.yaml (46 lines of code) (raw):
# 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.
apiVersion: blueprints.cloud.google.com/v1alpha1
kind: BlueprintMetadata
metadata:
name: terraform-ml-image-annotation-gcf-storage
annotations:
config.kubernetes.io/local-config: "true"
spec:
info:
title: storage module
source:
repo: https://github.com/GoogleCloudPlatform/terraform-ml-image-annotation-gcf.git
sourceType: git
dir: storage
actuationTool:
flavor: Terraform
version: '>= 0.13'
description: {}
content:
examples:
- name: simple_example
location: examples/simple_example
interfaces:
variables:
- name: gcf_location
description: GCS deployment region.
varType: string
required: true
- name: labels
description: A map of key/value label pairs to assign to the resources.
varType: map(string)
required: true
outputs:
- name: gcs_annotations
description: Output GCS bucket name.
- name: gcs_input
description: Input GCS bucket name.
requirements:
roles:
- level: Project
roles:
- roles/owner
services:
- cloudresourcemanager.googleapis.com
- iam.googleapis.com
- storage.googleapis.com
- serviceusage.googleapis.com