diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown
index 0ded8c41f9be..5e35cd237b4a 100644
--- a/website/docs/index.html.markdown
+++ b/website/docs/index.html.markdown
@@ -197,7 +197,7 @@ Usage:
```terraform
provider "aws" {
- assume_role {
+ assume_role_with_web_identity {
role_arn = "arn:aws:iam::123456789012:role/ROLE_NAME"
session_name = "SESSION_NAME"
web_identity_token_file = "/Users/tf_user/secrets/web-identity-token"