Skip to content

Commit d1341bd

Browse files
authored
chore: consume current version of module (#374)
1 parent 6babf74 commit d1341bd

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

tests/existing-resources/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ output "secrets_manager_kms_instance_crn" {
1818
description = "CRN of created secret manager KMS instance"
1919
}
2020

21-
output "event_notification_instance_crn" {
21+
output "event_notifications_instance_crn" {
2222
value = module.event_notifications.crn
2323
description = "CRN of created event notification"
2424
}

tests/new-resources/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ module "resource_group" {
1616

1717
module "secrets_manager" {
1818
count = var.provision_secrets_manager == true ? 1 : 0
19-
source = "terraform-ibm-modules/secrets-manager/ibm"
20-
version = "2.6.15" # Replace "X.X.X" with a release version to lock into a specific release
19+
source = "../.."
2120
resource_group_id = module.resource_group.resource_group_id
2221
region = var.region
2322
secrets_manager_name = "${var.prefix}-tsm"

tests/pr_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func TestRunExistingResourcesInstancesFullyConfigurable(t *testing.T) {
162162
{Name: "prefix", Value: options.Prefix, DataType: "string"},
163163
{Name: "region", Value: region, DataType: "string"},
164164
{Name: "existing_resource_group_name", Value: terraform.Output(t, existingTerraformOptions, "resource_group_name"), DataType: "string"},
165-
{Name: "existing_event_notification_instance_crn", Value: terraform.Output(t, existingTerraformOptions, "event_notification_instance_crn"), DataType: "string"},
165+
{Name: "existing_event_notifications_instance_crn", Value: terraform.Output(t, existingTerraformOptions, "event_notifications_instance_crn"), DataType: "string"},
166166
{Name: "existing_secrets_manager_kms_key_crn", Value: terraform.Output(t, existingTerraformOptions, "secrets_manager_kms_key_crn"), DataType: "string"},
167167
{Name: "kms_encryption_enabled", Value: true, DataType: "bool"},
168168
{Name: "service_plan", Value: "trial", DataType: "string"},

0 commit comments

Comments
 (0)