Then visit Identity Platform > Settings > Triggers. The function is not visible in the list of functions. No Gen2 functions are returned.
Terraform can be used to configure Identity Platform and use the function_uri of the Gen2 function directly, but this causes Identity Platform to show an error saying that the function that is identified by that URL has been deleted or no longer exists. For example, the following would generate an error even though the URL points to the Gen2 function created above:
And then it will show up in the list and be usable, both through the UI and through Terraform. It seems like some things around this are hard-coded to use the Gen1 Cloud Functions APIs.
Identity Platform only supports Gen1 Cloud Functions as blocking functions. Take a simple example function:
Then deploy the function as a Gen2 function:
Then visit Identity Platform > Settings > Triggers. The function is not visible in the list of functions. No Gen2 functions are returned.
Terraform can be used to configure Identity Platform and use the
function_uri
of the Gen2 function directly, but this causes Identity Platform to show an error saying that the function that is identified by that URL has been deleted or no longer exists. For example, the following would generate an error even though the URL points to the Gen2 function created above:The same function can be deployed as a Gen1 function:
And then it will show up in the list and be usable, both through the UI and through Terraform. It seems like some things around this are hard-coded to use the Gen1 Cloud Functions APIs.
Is this the correct place to report this issue?