# 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-google-secure-cicd-display
spec:
  info:
    title: Secure CD Module
    source:
      repo: https://github.com/GoogleCloudPlatform/terraform-google-secure-cicd.git
      sourceType: git
      dir: secure-cd
  ui:
    input:
      variables:
        additional_substitutions:
          name: additional_substitutions
          title: Additional Substitutions
        app_deploy_trigger_yaml:
          name: app_deploy_trigger_yaml
          title: App Deploy Trigger Yaml
        cache_bucket_name:
          name: cache_bucket_name
          title: Cache Bucket Name
        cloudbuild_cd_repo:
          name: cloudbuild_cd_repo
          title: Cloudbuild Cd Repo
        cloudbuild_private_pool:
          name: cloudbuild_private_pool
          title: Cloudbuild Private Pool
        cloudbuild_service_account:
          name: cloudbuild_service_account
          title: Cloudbuild Service Account
        clouddeploy_pipeline_name:
          name: clouddeploy_pipeline_name
          title: Clouddeploy Pipeline Name
        deploy_branch_clusters:
          name: deploy_branch_clusters
          title: Deploy Branch Clusters
        gar_repo_name:
          name: gar_repo_name
          title: Gar Repo Name
        labels:
          name: labels
          title: Labels
        primary_location:
          name: primary_location
          title: Primary Location
        project_id:
          name: project_id
          title: Project Id
