You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
When creating a Java Service instance from a snapshot by setting the snapshot_name the adminPort and secureAdminPort values must be omitted from the components.WLS in the create service REST API request
* oraclepaas_java_service_instance.jcs: Error creating JavaServiceInstance: unable to create Java Service Instance "my-terraformed-java-service-from-snapshot": 412: {"details":{"message":"CLONING-5101: The request parameter [adminPort] is not settable to different value other than [7001]"}}
Even if the admin_port and secure_admin_port are omitted from the config, the provider is still passing the default values to the SDK, and even with the defaults the request fails.
Note: to run this test, a separate JCS instance must have first been created and a Snapshot of the instance taken using the UI Console or the psm command line tool.
When creating a Java Service instance from a snapshot by setting the
snapshot_name
theadminPort
andsecureAdminPort
values must be omitted from thecomponents.WLS
in the create service REST API requestEven if the
admin_port
andsecure_admin_port
are omitted from the config, the provider is still passing the default values to the SDK, and even with the defaults the request fails.Example config.
Note: to run this test, a separate JCS instance must have first been created and a Snapshot of the instance taken using the UI Console or the
psm
command line tool.Create request JSON created by Terraform
Desired Create request JSON
In all other (non snapshot) create request cases the
adminPort
andsecuredAdminPort
attributes should be included.The text was updated successfully, but these errors were encountered: