Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to TestProjectOptionsDefault to specify projects region #859

Open
ocofaigh opened this issue Sep 4, 2024 · 3 comments
Open

Comments

@ocofaigh
Copy link
Member

ocofaigh commented Sep 4, 2024

Code is currently picking a random region:
image

Can we allow user to optionally pick a region which would override the random selection logic?

@daniel-butler-irl
Copy link
Member

The region can now be manually set, if omitted it selects a random region. Do you also want to be able to pass a list and randomly select from it?

@daniel-butler-irl
Copy link
Member

Its actually called location as this is the projects terminology https://github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper/blob/main/testprojects/test_options.go#L46

@ocofaigh
Copy link
Member Author

@daniel-butler-irl No thats cool - My thought was that if there was a region down or something, we could just lock into one. 99% of the time we let is default to the random

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants