diff --git a/stack/cloud_function_ais_analysis.py b/stack/cloud_function_ais_analysis.py index 06f94fe7..8717a4c5 100644 --- a/stack/cloud_function_ais_analysis.py +++ b/stack/cloud_function_ais_analysis.py @@ -95,13 +95,13 @@ service_account_email=cloud_function_service_account.email, ) -# invoker = cloudfunctions.FunctionIamMember( -# construct_name("cloud-function-ais-invoker"), -# project=fxn.project, -# region=fxn.region, -# cloud_function=fxn.name, -# role="roles/cloudfunctions.invoker", -# member="allUsers", -# ) +invoker = cloudfunctions.FunctionIamMember( + construct_name("cloud-function-ais-invoker"), + project=fxn.project, + region=fxn.region, + cloud_function=fxn.name, + role="roles/cloudfunctions.invoker", + member="allUsers", +) -# config_values["FUNCTION_URL"] = fxn.https_trigger_url +config_values["FUNCTION_URL"] = fxn.https_trigger_url