Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frankcash/terraform-gcp-pub-sub
Simple Terraform code to deploy a Cloud Function that consumes PubSub in GCP
https://github.com/frankcash/terraform-gcp-pub-sub
Last synced: about 7 hours ago
JSON representation
Simple Terraform code to deploy a Cloud Function that consumes PubSub in GCP
- Host: GitHub
- URL: https://github.com/frankcash/terraform-gcp-pub-sub
- Owner: frankcash
- Created: 2018-10-21T17:02:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-17T15:49:01.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T23:18:37.848Z (7 months ago)
- Language: HCL
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Getting Google Default Credentials
```
Error: Error running plan: 1 error(s) occurred:* provider.google: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
```
To Fix:
```
export GOOGLE_CLOUD_KEYFILE_JSON=path/to/key/file/file.json
```# Sending a Message
`gcloud pubsub topics publish QUEUE_NAME --message MESSAGE`