Skip to content

Commit

Permalink
chore: update display metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
q2w committed Jan 15, 2025
1 parent fe8f0e7 commit 18ef492
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
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

0 comments on commit 18ef492

Please sign in to comment.