oracle / oci-powershell-modules

Oracle Cloud Infrastructure Modules for PowerShell
https://cloud.oracle.com/cloud-infrastructure
Other
26 stars 11 forks source link

Manual Endpoint Configuration Required for ZprClient in OCI Powershell SDK #219

Open rkumarpa opened 2 weeks ago

rkumarpa commented 2 weeks ago

Update: This has been fixed in v92.1.0. If you are not able to upgrade to a non-affected version at this time, please use the workaround mentioned below


If you are using or want to use ZprClient in OCI Powershell SDK then you have to manually update the endpoint.

Description

Users of the OCI Powershell SDK who wish to utilize ZprClient must manually update the endpoint due to an incorrect configuration in the service endpoint. This issue affects the Zero Trust Packet Routing Service (ZPR) released in version 92.0.0.

Workaround

To resolve this issue, users need to manually set the endpoint when creating a ZprClient instance. Here's an example of how to do this:

    PS> Get-OCIZprPolicy ... -Endpoint "https://zpr./{region}.oci.oraclecloud.com"

Replace {region} with the appropriate region for your OCI deployment The correct endpoint for your specific region can be found in the Oracle Cloud Infrastructure API documentation here.