File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
gcp_cloud_function_ifconfig Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2222
2323Example usage: check GCF source IP to compare if it's permitted through Cloudflare / Firewall rules
2424
25- The HTTP request is irrelevant, although we could pass the website to query via an arg
26- in which case this would just act as a proxy. See the adjacent gcp_cloud_function_proxy/main.py
25+ The HTTP request is irrelevant, just pass an empty JSON document '{}', although we could pass the website to query
26+ in a field in which case this would just act as a proxy.
27+
28+ See Also: gcp_cloud_function_proxy/main.py
29+
2730
2831Tested on GCP Cloud Functions with Python 3.9
2932
3033"""
3134
35+ # https://cloud.google.com/functions/docs/writing/http#writing_http_content-python
36+
3237# https://cloud.google.com/functions/docs/writing/specifying-dependencies-python
3338
3439import requests
You can’t perform that action at this time.
0 commit comments