Skip to content

doc: Clarifies lack of support for import statement in organization resource #1806

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

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

AgustinBettati
Copy link
Member

@AgustinBettati AgustinBettati commented Jan 3, 2024

Description

Related ticket: CLOUDP-215155

As described in Jira ticket import statement of organization is not working. Ticket will still remain in progress until we verify if there is an option of supporting the command with existing API endpoints, or we need to wait for changes from IAM side.

This PR is simply to clarify the currently state in the documentation, and return a more clear message:
Before: Error: error reading organization information: GET https://cloud-dev.mongodb.com/api/atlas/v1.0/orgs/64b6bf4c1f89ae5ca0f0d849: 401 (request "") You are not authorized for this resource.
Now: Error: resource mongodbatlas_organization doesn't support import

Type of change:

  • Bug fix (non-breaking change which fixes an issue). Please, add the "bug" label to the PR.
  • New feature (non-breaking change which adds functionality). Please, add the "enhancement" label to the PR.
  • Breaking change (fix or feature that would cause existing functionality to not work as expected). Please, add the "breaking change" label to the PR.
  • This change requires a documentation update
  • Documentation fix/enhancement

Required Checklist:

  • I have signed the MongoDB CLA
  • I have read the contribution guidelines
  • I have checked that this change does not generate any credentials and that they are NOT accidentally logged anywhere.
  • I have added tests that prove my fix is effective or that my feature works per HashiCorp requirements
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code
  • If changes include deprecations or removals, I defined an isolated PR with a relevant title as it will be used in the auto-generated changelog.

Further comments

@AgustinBettati AgustinBettati changed the title docs: Clarifies lack of support for import statement in organization resource doc: Clarifies lack of support for import statement in organization resource Jan 3, 2024
@mongodb mongodb deleted a comment from github-actions bot Jan 3, 2024
@AgustinBettati AgustinBettati marked this pull request as ready for review January 3, 2024 17:46
@AgustinBettati AgustinBettati requested a review from a team as a code owner January 3, 2024 17:46
Copy link
Collaborator

@andreaangiolillo andreaangiolillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

3 participants