The module oracle.oci.oci_certificates_management_certificate having issue with idempotence. It always applies update even there are no changes in module config (and no changes in OCI resource). In result it creates a new certificate version after each playbook run.
Expected behavior
Update should not happen when there is no changes in oracle.oci.oci_certificates_management_certificate module config and no changes in the OCI resource.
"2024-05-15,08:57:15 DEBUG oci_common_utils.py:303 dict is not subset because attribute 'certificate_config' is not in target dict",
"2024-05-15,08:57:15 DEBUG oci_resource_utils.py:936 is update necessary for certificate: True"
Issue Report
Describe the issue
The module oracle.oci.oci_certificates_management_certificate having issue with idempotence. It always applies update even there are no changes in module config (and no changes in OCI resource). In result it creates a new certificate version after each playbook run.
Expected behavior
Update should not happen when there is no changes in oracle.oci.oci_certificates_management_certificate module config and no changes in the OCI resource.
Environment
Red Hat Enterprise Linux release 8.8 (Ootpa)
OCI Python SDK version:
2.126.3
OCI Ansible Modules version:
Ansible playbook to reproduce the issue
Relevant Debug Logs:
Full debug log: debug.log