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

Bug in documentation for ibm_iam_api_key datasource #3363

Closed
mrgadgil opened this issue Nov 25, 2021 · 0 comments · Fixed by #3379
Closed

Bug in documentation for ibm_iam_api_key datasource #3363

mrgadgil opened this issue Nov 25, 2021 · 0 comments · Fixed by #3379
Labels
documentation service/IAM Issues related to IAM

Comments

@mrgadgil
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

Affected Resource(s)

  • ibm_iam_api_key

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

Before:
Example usage
data "iam_api_key" "iam_api_key" {
    apikey_id = "id"
}
After:
Example usage
data "ibm_iam_api_key" "iam_api_key" {
    apikey_id = "id"
}

The provider name in the example usage is corrected

Debug Output

Panic Output

Expected Behavior

Example usage is often used directly by copy/pasting from documentation. Example usage should use the correct datasource name

Actual Behavior

Example usage has a typo in the data source name. It mentions iam_api_key instead of correct name ibm_iam_api_key

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@kavya498 kavya498 added the service/IAM Issues related to IAM label Nov 26, 2021
kavya498 added a commit to kavya498/terraform-provider-ibm that referenced this issue Nov 30, 2021
kavya498 added a commit to kavya498/terraform-provider-ibm that referenced this issue Nov 30, 2021
@kavya498 kavya498 linked a pull request Nov 30, 2021 that will close this issue
hkantare pushed a commit that referenced this issue Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation service/IAM Issues related to IAM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants