-
Notifications
You must be signed in to change notification settings - Fork 66
Adding trigger_http input #56
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
Adding trigger_http input #56
Conversation
bharathkkb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! We may need to set it trigger_http to null as CI given an error which I suspect is due to trigger_http = false and event_trigger block being present.
module.automatic_labelling_from_localhost.module.event_project_log_entry.google_pubsub_topic_iam_member.main: Creating...
module.automatic_labelling_from_localhost.module.event_project_log_entry.google_pubsub_topic_iam_member.main: Creation complete after 4s [id=projects/ci-event-function-9402/topics/infinite-alpaca/roles/pubsub.publisher/serviceaccount:p771980061706-101280@gcp-sa-logging.iam.gserviceaccount.com]
Error: ConflictsWith
on ../../../main.tf line 70, in resource "google_cloudfunctions_function" "main":
70: resource "google_cloudfunctions_function" "main" {
"event_trigger": conflicts with trigger_http
|
Sorry for the delay. I have modify the code as you requested. Please review it and let me know if there is something else needed. |
b731b23 to
dd135ae
Compare
|
@bharathkkb please could you review this? |
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
|
/gcbrun |
|
Thanks for the PR! 🚀 |
|
@bharathkkb Please review the PR. |
|
Thanks @jtyr and apologies for missing this earlier |
This PR is adding an extra input called
trigger_httpwhich allows to create a function which is triggered by any HTTP request. This makes the previously required inputevent_triggeroptional as only one of them can be used at a time.