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

chore: Add Apphub URI output to cloud storage #358

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,16 @@ spec:
varType: map(any)
defaultValue: {}
outputs:
- name: apphub_service_uri
description: Service URI in CAIS style to be used by Apphub.
type:
- object
- service_id:
- tuple
- - string
service_uri:
- tuple
- - string
- name: bucket
description: Bucket resource (for single use).
type:
Expand Down
8 changes: 8 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,11 @@ output "hmac_keys" {
value = google_storage_hmac_key.hmac_keys[*]
sensitive = true
}

output "apphub_service_uri" {
value = {
tjy9206 marked this conversation as resolved.
Show resolved Hide resolved
service_uri = local.buckets_list[*].self_link
service_id = local.buckets_list[*].name
}
description = "Service URI in CAIS style to be used by Apphub."
}
Loading