# 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 CI Module
    source:
      repo: https://github.com/GoogleCloudPlatform/terraform-google-secure-cicd.git
      sourceType: git
      dir: secure-ci
  ui:
    input:
      variables:
        additional_substitutions:
          name: additional_substitutions
          title: Additional Substitutions
        app_build_trigger_yaml:
          name: app_build_trigger_yaml
          title: App Build Trigger Yaml
        app_source_repo:
          name: app_source_repo
          title: App Source Repo
        attestor_names_prefix:
          name: attestor_names_prefix
          title: Attestor Names Prefix
        build_image_config_yaml:
          name: build_image_config_yaml
          title: Build Image Config 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_roles:
          name: cloudbuild_service_account_roles
          title: Cloudbuild Service Account Roles
        clouddeploy_pipeline_name:
          name: clouddeploy_pipeline_name
          title: Clouddeploy Pipeline Name
        gar_repo_name_suffix:
          name: gar_repo_name_suffix
          title: Gar Repo Name Suffix
        labels:
          name: labels
          title: Labels
        primary_location:
          name: primary_location
          title: Primary Location
        project_id:
          name: project_id
          title: Project Id
        runner_build_folder:
          name: runner_build_folder
          title: Runner Build Folder
        skip_provisioners:
          name: skip_provisioners
          title: Skip Provisioners
        trigger_branch_name:
          name: trigger_branch_name
          title: Trigger Branch Name
        use_tf_google_credentials_env_var:
          name: use_tf_google_credentials_env_var
          title: Use Tf Google Credentials Env Var
