Skip to content

Commit c316f91

Browse files
committed
fixed test
1 parent f3d0099 commit c316f91

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/pr_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ func TestFullyConfigurableSolution(t *testing.T) {
118118
{Name: "ibmcloud_api_key", Value: options.RequiredEnvironmentVars["TF_VAR_ibmcloud_api_key"], DataType: "string", Secure: true},
119119
{Name: "cluster_id", Value: terraform.Output(t, existingTerraformOptions, "cluster_id"), DataType: "string"},
120120
{Name: "cluster_resource_group_id", Value: terraform.Output(t, existingTerraformOptions, "cluster_resource_group_id"), DataType: "string"},
121+
{Name: "instance_crn", Value: terraform.Output(t, existingTerraformOptions, "instance_crn"), DataType: "string", Secure: true},
121122
{Name: "access_key", Value: terraform.Output(t, existingTerraformOptions, "access_key"), DataType: "string", Secure: true},
122123
{Name: "priority_class_name", Value: "sysdig-daemonset-priority", DataType: "string"},
123124
}

tests/resources/outputs.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ output "access_key" {
2727
description = "The access key of the provisioned IBM Cloud Monitoring instance."
2828
sensitive = true
2929
}
30+
31+
output "instance_crn" {
32+
value = module.cloud_monitoring.crn
33+
description = "The access key of the provisioned IBM Cloud Monitoring instance."
34+
sensitive = true
35+
}

0 commit comments

Comments
 (0)