Skip to content

Commit

Permalink
chore: Generate metadata.display.yaml (#342)
Browse files Browse the repository at this point in the history
Co-authored-by: Zheng Qin <[email protected]>
Co-authored-by: Bharath KKB <[email protected]>
  • Loading branch information
3 people authored Sep 19, 2024
1 parent 3146538 commit e1fbff2
Show file tree
Hide file tree
Showing 2 changed files with 239 additions and 0 deletions.
149 changes: 149 additions & 0 deletions metadata.display.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
# Copyright 2024 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-cloud-storage-display
annotations:
config.kubernetes.io/local-config: "true"
spec:
info:
title: Terraform Google Cloud Storage Module
source:
repo: https://github.com/terraform-google-modules/terraform-google-cloud-storage.git
sourceType: git
ui:
input:
variables:
admins:
name: admins
title: Admins
autoclass:
name: autoclass
title: Autoclass
bucket_admins:
name: bucket_admins
title: Bucket Admins
bucket_creators:
name: bucket_creators
title: Bucket Creators
bucket_hmac_key_admins:
name: bucket_hmac_key_admins
title: Bucket Hmac Key Admins
bucket_lifecycle_rules:
name: bucket_lifecycle_rules
title: Bucket Lifecycle Rules
bucket_policy_only:
name: bucket_policy_only
title: Bucket Policy Only
bucket_storage_admins:
name: bucket_storage_admins
title: Bucket Storage Admins
bucket_viewers:
name: bucket_viewers
title: Bucket Viewers
cors:
name: cors
title: Cors
creators:
name: creators
title: Creators
custom_placement_config:
name: custom_placement_config
title: Custom Placement Config
default_event_based_hold:
name: default_event_based_hold
title: Default Event Based Hold
encryption_key_names:
name: encryption_key_names
title: Encryption Key Names
folders:
name: folders
title: Folders
force_destroy:
name: force_destroy
title: Force Destroy
hmac_key_admins:
name: hmac_key_admins
title: Hmac Key Admins
hmac_service_accounts:
name: hmac_service_accounts
title: Hmac Service Accounts
labels:
name: labels
title: Labels
lifecycle_rules:
name: lifecycle_rules
title: Lifecycle Rules
location:
name: location
title: Location
logging:
name: logging
title: Logging
names:
name: names
title: Names
prefix:
name: prefix
title: Prefix
project_id:
name: project_id
title: Project Id
public_access_prevention:
name: public_access_prevention
title: Public Access Prevention
randomize_suffix:
name: randomize_suffix
title: Randomize Suffix
retention_policy:
name: retention_policy
title: Retention Policy
set_admin_roles:
name: set_admin_roles
title: Set Admin Roles
set_creator_roles:
name: set_creator_roles
title: Set Creator Roles
set_hmac_access:
name: set_hmac_access
title: Set Hmac Access
set_hmac_key_admin_roles:
name: set_hmac_key_admin_roles
title: Set Hmac Key Admin Roles
set_storage_admin_roles:
name: set_storage_admin_roles
title: Set Storage Admin Roles
set_viewer_roles:
name: set_viewer_roles
title: Set Viewer Roles
soft_delete_policy:
name: soft_delete_policy
title: Soft Delete Policy
storage_admins:
name: storage_admins
title: Storage Admins
storage_class:
name: storage_class
title: Storage Class
versioning:
name: versioning
title: Versioning
viewers:
name: viewers
title: Viewers
website:
name: website
title: Website
90 changes: 90 additions & 0 deletions modules/simple_bucket/metadata.display.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
# Copyright 2024 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-cloud-storage-display
annotations:
config.kubernetes.io/local-config: "true"
spec:
info:
title: Terraform Google Cloud Storage Module
source:
repo: https://github.com/terraform-google-modules/terraform-google-cloud-storage.git
sourceType: git
dir: /modules/simple_bucket
ui:
input:
variables:
autoclass:
name: autoclass
title: Autoclass
bucket_policy_only:
name: bucket_policy_only
title: Bucket Policy Only
cors:
name: cors
title: Cors
custom_placement_config:
name: custom_placement_config
title: Custom Placement Config
encryption:
name: encryption
title: Encryption
force_destroy:
name: force_destroy
title: Force Destroy
iam_members:
name: iam_members
title: Iam Members
labels:
name: labels
title: Labels
lifecycle_rules:
name: lifecycle_rules
title: Lifecycle Rules
location:
name: location
title: Location
log_bucket:
name: log_bucket
title: Log Bucket
log_object_prefix:
name: log_object_prefix
title: Log Object Prefix
name:
name: name
title: Name
project_id:
name: project_id
title: Project Id
public_access_prevention:
name: public_access_prevention
title: Public Access Prevention
retention_policy:
name: retention_policy
title: Retention Policy
soft_delete_policy:
name: soft_delete_policy
title: Soft Delete Policy
storage_class:
name: storage_class
title: Storage Class
versioning:
name: versioning
title: Versioning
website:
name: website
title: Website

0 comments on commit e1fbff2

Please sign in to comment.