diff --git a/docs/resources/grant_account_role.md b/docs/resources/grant_account_role.md index 4916faa964..89382c496d 100644 --- a/docs/resources/grant_account_role.md +++ b/docs/resources/grant_account_role.md @@ -43,7 +43,7 @@ resource "snowflake_user" "user" { } resource "snowflake_grant_account_role" "g" { - role_name = snowflake_role.role.name + role_name = snowflake_account_role.role.name user_name = snowflake_user.user.name } ``` diff --git a/examples/resources/snowflake_grant_account_role/resource.tf b/examples/resources/snowflake_grant_account_role/resource.tf index d07d79afe7..d3af9ba081 100644 --- a/examples/resources/snowflake_grant_account_role/resource.tf +++ b/examples/resources/snowflake_grant_account_role/resource.tf @@ -29,6 +29,6 @@ resource "snowflake_user" "user" { } resource "snowflake_grant_account_role" "g" { - role_name = snowflake_role.role.name + role_name = snowflake_account_role.role.name user_name = snowflake_user.user.name }