Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oracle.oci.oci_identity_compartment allows for creation of compartment with the same name in a tenancy #258

Open
kmj251 opened this issue Nov 15, 2023 · 1 comment

Comments

@kmj251
Copy link

kmj251 commented Nov 15, 2023

Issue Report

The documentation of this module states "You must also specify a name for the compartment, which must be unique across all compartments in your tenancy." This is not the case. One can create a compartment with the same name in different parent compartments.

Expected behavior
Fix the documentation or fix the module to enforce the documentation. Since the module can create a compartment with the same name in the same tenancy if it's not in the same compartment, this must not be an OCI limitation, and this is just a documentation problem.

A clear and concise description of what you expected to happen.

Environment

  • OS version: Ubuntu 22.04

  • Ansible version: 2.15.3

  • OCI Python SDK version: 2.112.1

  • OCI Ansible Modules version: 4.30.0

Ansible playbook to reproduce the issue

@dineshsuthar786
Copy link
Member

@kmj251 We generate the module documentation from service specs. We don't modify or add anything in documentation from our side. Can you confirm if it is just documentation issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants