Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update display metadata #377

Merged
merged 1 commit into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Google LLC
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -636,7 +636,7 @@ spec:
roles:
- level: Project
roles:
- roles/cloudkms.admin
- roles/cloudkms.cryptoKeyEncrypterDecrypter
- roles/iam.serviceAccountUser
- roles/storage.admin
services:
Expand Down
23 changes: 23 additions & 0 deletions modules/simple_bucket/metadata.display.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ spec:
autoclass:
name: autoclass
title: Autoclass
level: 1
bucket_policy_only:
name: bucket_policy_only
title: Bucket Policy Only
level: 1
cors:
name: cors
title: Cors
Expand All @@ -43,6 +45,7 @@ spec:
encryption:
name: encryption
title: Encryption
level: 1
force_destroy:
name: force_destroy
title: Force Destroy
Expand All @@ -56,6 +59,7 @@ spec:
lifecycle_rules:
name: lifecycle_rules
title: Lifecycle Rules
level: 1
location:
name: location
title: Location
Expand All @@ -79,15 +83,34 @@ spec:
retention_policy:
name: retention_policy
title: Retention Policy
level: 1
soft_delete_policy:
name: soft_delete_policy
title: Soft Delete Policy
storage_class:
name: storage_class
title: Storage Class
level: 1
enumValueLabels:
- label: STANDARD
value: STANDARD
- label: MULTI_REGIONAL
value: MULTI_REGIONAL
- label: REGIONAL
value: REGIONAL
- label: NEARLINE
value: NEARLINE
- label: COLDLINE
value: COLDLINE
- label: ARCHIVE
value: ARCHIVE
altDefaults:
- type: ALTERNATE_TYPE_DC
value: STANDARD
versioning:
name: versioning
title: Versioning
level: 1
website:
name: website
title: Website
4 changes: 2 additions & 2 deletions modules/simple_bucket/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 Google LLC
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -299,7 +299,7 @@ spec:
roles:
- level: Project
roles:
- roles/cloudkms.admin
- roles/cloudkms.cryptoKeyEncrypterDecrypter
- roles/iam.serviceAccountUser
- roles/storage.admin
services:
Expand Down
2 changes: 1 addition & 1 deletion test/setup/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

locals {
int_required_roles = [
"roles/cloudkms.admin",
"roles/cloudkms.cryptoKeyEncrypterDecrypter",
"roles/iam.serviceAccountUser",
"roles/storage.admin",
]
Expand Down
Loading