IBM Cloud Docs
Are you getting a "region_not_allowed" error when creating a target?

Are you getting a "region_not_allowed" error when creating a target?

When creating a target, a message similar to Your request has failed due to the region requested not being permitted. Requested: us-east, Permitted: [eu-gb us-south] is returned with the code region_not_allowed.

Your request fails with an error message and a code of region_not_allowed.

You are trying to configure a target and the region you requested the target be created in is not a region that has been permitted in the configuration settings.

Configure the --permitted-target-regions in the configuration settings to include the the region where you want to configure a target, or specify a target region (-r) on your create request in one of the existing permitted target regions.