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

Remove deprecated resource #83

Open
sfc-gh-pkommini opened this issue Jul 27, 2023 · 1 comment
Open

Remove deprecated resource #83

sfc-gh-pkommini opened this issue Jul 27, 2023 · 1 comment
Assignees

Comments

@sfc-gh-pkommini
Copy link
Collaborator

│   with module.pat_geff_shs.module.storage_integration.snowflake_integration_grant.this,
│   on .terraform/modules/pat_geff_shs.storage_integration/storage_integration.tf line 22, in resource "snowflake_integration_grant" "this":
│   22: resource "snowflake_integration_grant" "this" {
│ 
│ This resource is deprecated and will be removed in a future major version
│ release. Please use snowflake_grant_privileges_to_role instead.
@sfc-gh-pkommini
Copy link
Collaborator Author

sfc-gh-pkommini commented Jul 27, 2023

resource "snowflake_grant_privileges_to_role" "g14" {
  privileges = ["USAGE"]
  role_name  = snowflake_role.role.name
  on_schema_object {
      object_type = "INTEGRATION"
      in_schema          = "\"my_db\".\"my_schema\"" # note this is a fully qualified name!
  }
}

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

No branches or pull requests

2 participants