File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ go 1.24.0
55toolchain go1.25.1
66
77require (
8+ github.com/IBM/go-sdk-core/v5 v5.21.0
89 github.com/gruntwork-io/terratest v0.50.0
910 github.com/stretchr/testify v1.11.1
10- github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.6
11+ github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.9
1112)
1213
1314require (
1415 dario.cat/mergo v1.0.0 // indirect
1516 github.com/IBM-Cloud/bluemix-go v0.0.0-20240719075425-078fcb3a55be // indirect
1617 github.com/IBM-Cloud/power-go-client v1.12.0 // indirect
1718 github.com/IBM/cloud-databases-go-sdk v0.8.0 // indirect
18- github.com/IBM/go-sdk-core/v5 v5.21.0 // indirect
1919 github.com/IBM/platform-services-go-sdk v0.86.1 // indirect
2020 github.com/IBM/project-go-sdk v0.3.6 // indirect
2121 github.com/IBM/schematics-go-sdk v0.4.0 // indirect
Original file line number Diff line number Diff line change @@ -295,8 +295,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
295295github.com/stretchr/testify v1.8.2 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
296296github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U =
297297github.com/stretchr/testify v1.11.1 /go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U =
298- github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.6 h1:Tr7AlrQ+s1Nc9VOwB+It8sItnDOXhfXTxKqI2KtdyFA =
299- github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.6 /go.mod h1:YBrRYc+5y5Pr9CXmY35lOqTQdlIjA4x4+3iVObXGOCE =
298+ github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.9 h1:ntigNnXy4Ut6eVMfBUjQ5yoIZR5Rt419+pwfle4MO5c =
299+ github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper v1.60.9 /go.mod h1:YBrRYc+5y5Pr9CXmY35lOqTQdlIjA4x4+3iVObXGOCE =
300300github.com/tidwall/pretty v1.0.0 /go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk =
301301github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw =
302302github.com/tmccombs/hcl2json v0.6.4 /go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk =
Original file line number Diff line number Diff line change 99 "strings"
1010 "testing"
1111
12+ "github.com/IBM/go-sdk-core/v5/core"
1213 "github.com/gruntwork-io/terratest/modules/files"
1314 "github.com/gruntwork-io/terratest/modules/logger"
1415 "github.com/gruntwork-io/terratest/modules/random"
@@ -259,6 +260,18 @@ func TestAddonDefaultConfiguration(t *testing.T) {
259260 },
260261 )
261262
263+ // Disable target / route creation to prevent hitting quota in account
264+ options .AddonConfig .Dependencies = []cloudinfo.AddonConfig {
265+ {
266+ OfferingName : "deploy-arch-ibm-cloud-monitoring" ,
267+ OfferingFlavor : "fully-configurable" ,
268+ Inputs : map [string ]interface {}{
269+ "enable_metrics_routing_to_cloud_monitoring" : false ,
270+ },
271+ Enabled : core .BoolPtr (true ),
272+ },
273+ }
274+
262275 err := options .RunAddonTest ()
263276 require .NoError (t , err )
264277}
You can’t perform that action at this time.
0 commit comments