oci-ansible-collection icon indicating copy to clipboard operation
oci-ansible-collection copied to clipboard

Removing an existing path_route_set from listener

Open cgmejica opened this issue 2 years ago • 1 comments

We are migrating our existing loadbalancers to use Routing Policy instead of Path Route Sets. However I am unable to remove the existing path route set from the listener.

Is there a way to set the existing path_route_set to "NULL" ?

Example :

  - name: remove path route policy
    oci_loadbalancer_listener:
       load_balancer_id: <loadbalancer_id>
       name: <listener_name>
       path_route_set_name: "None" or "NULL"

cgmejica avatar May 13 '22 16:05 cgmejica

Agree, doesn't work only manual remove listener, then path_route_set straight from OCI Console and relaunch Terraform.

etyoma avatar Aug 24 '22 13:08 etyoma

@cgmejica , @etyoma We have added support for passing None/Null values to oci ansible module params in Release v4.2.0. Kindly test and confirm the same. Let us know if you face any issue. Closing this issue for now, feel free to reopen the issue or create a new issue.

dineshsuthar786 avatar Nov 22 '22 13:11 dineshsuthar786