From bb6385c71d2ffca440a7c4081cd66966ed3cdfbf Mon Sep 17 00:00:00 2001 From: Abhishek Date: Mon, 9 Dec 2024 13:22:19 +0000 Subject: [PATCH] fix: remove apphub_service_uri from output of simple_bucket --- modules/simple_bucket/README.md | 1 - modules/simple_bucket/metadata.yaml | 6 ------ modules/simple_bucket/outputs.tf | 8 -------- 3 files changed, 15 deletions(-) diff --git a/modules/simple_bucket/README.md b/modules/simple_bucket/README.md index 0bbe6658..db05ef87 100644 --- a/modules/simple_bucket/README.md +++ b/modules/simple_bucket/README.md @@ -64,7 +64,6 @@ Functional examples are included in the | Name | Description | |------|-------------| -| apphub\_service\_uri | URI in CAIS style to be used by Apphub. | | bucket | The created storage bucket | | internal\_kms\_configuration | The intenal KMS Resource. | | name | Bucket name. | diff --git a/modules/simple_bucket/metadata.yaml b/modules/simple_bucket/metadata.yaml index 4d1efe82..25d230ed 100644 --- a/modules/simple_bucket/metadata.yaml +++ b/modules/simple_bucket/metadata.yaml @@ -166,12 +166,6 @@ spec: }) defaultValue: {} outputs: - - name: apphub_service_uri - description: URI in CAIS style to be used by Apphub. - type: - - object - - service_id: string - service_uri: string - name: bucket description: The created storage bucket type: diff --git a/modules/simple_bucket/outputs.tf b/modules/simple_bucket/outputs.tf index 4b7ff620..aa0bd4c3 100644 --- a/modules/simple_bucket/outputs.tf +++ b/modules/simple_bucket/outputs.tf @@ -33,11 +33,3 @@ output "internal_kms_configuration" { description = "The intenal KMS Resource." value = var.internal_encryption_config.create_encryption_key ? module.encryption_key[0] : null } - -output "apphub_service_uri" { - value = { - service_uri = "//storage.googleapis.com/${google_storage_bucket.bucket.name}" - service_id = substr(google_storage_bucket.bucket.name, 0, 63) - } - description = "URI in CAIS style to be used by Apphub." -}