Skip to content
Merged
2 changes: 2 additions & 0 deletions examples/automatic-labelling-folder/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ resource "google_project" "test" {
]
}

deletion_policy = "DELETE"

depends_on = [null_resource.wait_for_function]
}

Expand Down
2 changes: 1 addition & 1 deletion modules/event-folder-log-entry/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ locals {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 8.0"
version = "~> 10.0"

destination_uri = local.destination_uri
filter = var.filter
Expand Down
2 changes: 1 addition & 1 deletion modules/event-project-log-entry/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ locals {

module "log_export" {
source = "terraform-google-modules/log-export/google"
version = "~> 8.0"
version = "~> 10.0"

destination_uri = local.destination_uri
filter = var.filter
Expand Down
9 changes: 8 additions & 1 deletion test/integration/dynamic-files/dynamic_files_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package dynamic_files
import (
"fmt"
"testing"
"time"

// import the blueprints test framework modules for testing and assertions
"github.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test/pkg/gcloud"
Expand All @@ -26,7 +27,13 @@ import (
)

func TestDynamicFiles(t *testing.T) {
bpt := tft.NewTFBlueprintTest(t)
RetryableTransientErrors := map[string]string{
".*Error code 13, message: Gen1 operation for function .* failed: Failed to configure trigger providers/cloud.storage/eventTypes/object.change.*": "Retry Cloud Function Creation",
}

bpt := tft.NewTFBlueprintTest(t,
tft.WithRetryableTerraformErrors(RetryableTransientErrors, 3, 30*time.Second),
)

bpt.DefineVerify(func(assert *assert.Assertions) {
bpt.DefaultVerify(assert)
Expand Down