diff --git a/examples/basic/main.tf b/examples/basic/main.tf index 0414c1b..afe4760 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -24,4 +24,5 @@ module "cloud_monitoring" { region = var.region resource_tags = var.resource_tags instance_name = local.cloud_monitoring_instance_name + plan = var.plan } diff --git a/examples/basic/variables.tf b/examples/basic/variables.tf index d460364..e85a2d5 100644 --- a/examples/basic/variables.tf +++ b/examples/basic/variables.tf @@ -37,3 +37,9 @@ variable "resource_tags" { description = "List of resource tag to associate with all resource instances created by this example." default = [] } + +variable "plan" { + type = string + description = "The IBM Cloud Monitoring plan to provision. Available: lite, graduated-tier and graduated-tier-sysdig-secure-plus-monitor (available in region eu-fr2 only)" + default = "graduated-tier" +} diff --git a/tests/pr_test.go b/tests/pr_test.go index 9e746c8..de18e04 100644 --- a/tests/pr_test.go +++ b/tests/pr_test.go @@ -50,7 +50,7 @@ func TestRunFullyConfigurable(t *testing.T) { region := validRegions[rand.Intn(len(validRegions))] prefix := "icm-da" - plan := "lite" + plan := "graduated-tier" // when region is 'eu-fr2' take opportunity to test 'graduated-tier-sysdig-secure-plus-monitor' plan if region == "eu-fr2" {