Skip to content

Commit

Permalink
add uri as an output resource
Browse files Browse the repository at this point in the history
  • Loading branch information
namusyaka committed Mar 8, 2019
1 parent eacfd53 commit db89a5c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ output "id" {
description = "The ID of the Pub/Sub topic"
}

output "uri" {
value = "pubsub.googleapis.com/${google_pubsub_topic.topic.id}"
description = "The URI of the Pub/Sub topic"
}

output "subscription_names" {
value = "${concat(
google_pubsub_subscription.push_subscriptions.*.name,
Expand Down

0 comments on commit db89a5c

Please sign in to comment.