diff --git a/tests/existing-resources/outputs.tf b/tests/existing-resources/outputs.tf index 31bcaf96..c7665074 100644 --- a/tests/existing-resources/outputs.tf +++ b/tests/existing-resources/outputs.tf @@ -18,7 +18,7 @@ output "secrets_manager_kms_instance_crn" { description = "CRN of created secret manager KMS instance" } -output "event_notification_instance_crn" { +output "event_notifications_instance_crn" { value = module.event_notifications.crn description = "CRN of created event notification" } diff --git a/tests/new-resources/main.tf b/tests/new-resources/main.tf index a3d346a2..75473bf3 100644 --- a/tests/new-resources/main.tf +++ b/tests/new-resources/main.tf @@ -16,8 +16,7 @@ module "resource_group" { module "secrets_manager" { count = var.provision_secrets_manager == true ? 1 : 0 - source = "terraform-ibm-modules/secrets-manager/ibm" - version = "2.6.15" # Replace "X.X.X" with a release version to lock into a specific release + source = "../.." resource_group_id = module.resource_group.resource_group_id region = var.region secrets_manager_name = "${var.prefix}-tsm" diff --git a/tests/pr_test.go b/tests/pr_test.go index 1801e2ed..90149bcc 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -162,7 +162,7 @@ func TestRunExistingResourcesInstancesFullyConfigurable(t *testing.T) { {Name: "prefix", Value: options.Prefix, DataType: "string"}, {Name: "region", Value: region, DataType: "string"}, {Name: "existing_resource_group_name", Value: terraform.Output(t, existingTerraformOptions, "resource_group_name"), DataType: "string"}, - {Name: "existing_event_notification_instance_crn", Value: terraform.Output(t, existingTerraformOptions, "event_notification_instance_crn"), DataType: "string"}, + {Name: "existing_event_notifications_instance_crn", Value: terraform.Output(t, existingTerraformOptions, "event_notifications_instance_crn"), DataType: "string"}, {Name: "existing_secrets_manager_kms_key_crn", Value: terraform.Output(t, existingTerraformOptions, "secrets_manager_kms_key_crn"), DataType: "string"}, {Name: "kms_encryption_enabled", Value: true, DataType: "bool"}, {Name: "service_plan", Value: "trial", DataType: "string"},