aws-amplify / aws-amplify/docs
API Scheme: IAM deprecated warning, but documentation is not updated
- Dominant language
- MDX
- Stars
- 506
- Forks
- 1.1k
- Avg merge
- 3h 14m
- Merged PRs (30d)
- 1
Description
### How did you install the Amplify CLI?
npm
### If applicable, what version of Node.js are you using?
_No response_
### Amplify CLI Version
12.7.1
### What operating system are you using?
windows
### Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Nope
### Describe the bug
When pushing amplify we get warning that our scheme is using IAM, but this is the method which is documented at amplify website.
`⚠️ WARNING: Schema is using an @auth directive with deprecated provider 'iam'. Replace 'iam' provider with 'identityPool' provider.`
You need to update documentation and `enum AuthProvider` at e.g. https://docs.amplify.aws/gen1/javascript/build-a-backend/graphqlapi/customize-authorization-rules/#how-it-works
### Expected behavior
Documentation should not use deprecated auth methods
### Reproduction steps
Make a scheme like the documentation suggest and push
### Project Identifier
_No response_
### Log output
```
# Put your logs below this line
```
### Additional information
_No response_
### Before submitting, please confirm:
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.
Contributor guide
Assessment
This issue has not been assessed yet.