Skip to content

Commit 58469c4

Browse files
authored
tests: move kms tests off EU (#308)
1 parent 4d1315d commit 58469c4

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

examples/complete/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This examples handles the provisioning of a new Secrets Manager instance.
3434
| <a name="input_en_region"></a> [en\_region](#input\_en\_region) | Region where event notification will be created | `string` | `"au-syd"` | no |
3535
| <a name="input_ibmcloud_api_key"></a> [ibmcloud\_api\_key](#input\_ibmcloud\_api\_key) | The IBM Cloud API key this account authenticates to | `string` | n/a | yes |
3636
| <a name="input_prefix"></a> [prefix](#input\_prefix) | Prefix for sm instance | `string` | `"sm-com"` | no |
37-
| <a name="input_region"></a> [region](#input\_region) | Region where resources will be created | `string` | `"us-east"` | no |
37+
| <a name="input_region"></a> [region](#input\_region) | Region where resources will be created | `string` | `"au-syd"` | no |
3838
| <a name="input_resource_group"></a> [resource\_group](#input\_resource\_group) | An existing resource group name to use for this example, if unset a new resource group will be created | `string` | `null` | no |
3939
| <a name="input_resource_tags"></a> [resource\_tags](#input\_resource\_tags) | Optional list of tags to be added to created resources | `list(string)` | `[]` | no |
4040
| <a name="input_sm_service_plan"></a> [sm\_service\_plan](#input\_sm\_service\_plan) | The Secrets Manager service plan to provision | `string` | `"trial"` | no |

examples/complete/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ variable "sm_service_plan" {
1818
variable "region" {
1919
type = string
2020
description = "Region where resources will be created"
21-
default = "us-east"
21+
default = "au-syd"
2222
}
2323

2424
variable "resource_group" {

examples/fscloud/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ variable "prefix" {
1313
variable "region" {
1414
type = string
1515
description = "Region where resources will be created"
16-
default = "us-south"
16+
default = "au-syd"
1717
}
1818

1919
variable "resource_group" {

tests/other_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ import (
1212
func TestRunBasicExample(t *testing.T) {
1313
t.Parallel()
1414

15+
var validRegions = []string{
16+
"eu-de",
17+
"eu-gb",
18+
"au-syd",
19+
}
20+
1521
options := testhelper.TestOptionsDefaultWithVars(&testhelper.TestOptions{
1622
Testing: t,
1723
TerraformDir: "examples/basic",

tests/pr_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ var permanentResources map[string]interface{}
3636
// Current supported Event Notification regions
3737
var validRegions = []string{
3838
// "us-south", # do not run secrets manager tests in us regions
39-
"eu-de",
40-
"eu-gb",
41-
"au-syd",
39+
// "eu-de",
40+
// "eu-gb",
41+
"au-syd", // all tests using KMS should avoid dallas and EU regions https://github.ibm.com/GoldenEye/issues/issues/12725
4242
}
4343

4444
// TestMain will be run before any parallel tests, used to read data from yaml for use with tests

0 commit comments

Comments
 (0)