Skip to content

Commit

Permalink
fix(gcp): user project id inside output file
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune committed Apr 3, 2020
1 parent 2a70585 commit e6414b0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions gcp/output.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
output "privateKey" {
value = base64decode(google_service_account_key.service-account-key-lacework.private_key)
}

output "subscription" {
value = var.existing_bucket_name == "" && var.audit_log ? "projects/test-project-mobeen/subscriptions/${google_pubsub_subscription.lacework_subscription[0].name}" : ""
value = var.existing_bucket_name == "" && var.audit_log ? "projects/${var.project_id}/subscriptions/${google_pubsub_subscription.lacework_subscription[0].name}" : ""
depends_on = [google_pubsub_subscription.lacework_subscription]
}

Expand Down

0 comments on commit e6414b0

Please sign in to comment.