Networking examples: Fix tests "private cloud function from onprem"
This commit is contained in:
parent
898fd7379f
commit
c96abf7270
|
@ -235,7 +235,7 @@ module "function-hello" {
|
|||
bucket_name = var.cloud_function_gcs_bucket
|
||||
ingress_settings = "ALLOW_INTERNAL_ONLY"
|
||||
bundle_config = {
|
||||
source_dir = "assets"
|
||||
source_dir = "${path.module}/assets"
|
||||
output_path = "bundle.zip"
|
||||
}
|
||||
bucket_config = {
|
||||
|
|
|
@ -14,10 +14,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
###############################################################################
|
||||
# OUTPUTS #
|
||||
###############################################################################
|
||||
|
||||
output "function_url" {
|
||||
description = "URL of the Cloud Function."
|
||||
value = module.function-hello.function.https_trigger_url
|
||||
|
|
|
@ -14,10 +14,6 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
###############################################################################
|
||||
# variables #
|
||||
###############################################################################
|
||||
|
||||
variable "region" {
|
||||
description = "Region where the resources will be created."
|
||||
type = string
|
||||
|
|
|
@ -24,4 +24,4 @@ def test_resources(e2e_plan_runner):
|
|||
"Test that plan works and the numbers of resources is as expected."
|
||||
modules, resources = e2e_plan_runner(FIXTURES_DIR)
|
||||
assert len(modules) == 10
|
||||
assert len(resources) == 41
|
||||
assert len(resources) == 40
|
||||
|
|
Loading…
Reference in New Issue