-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
80 changed files
with
247 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_cluster_grant.example GRANT|CLUSTER|<cluster_id>|<role_id>|<privilege> | ||
terraform import materialize_cluster_grant.example <region>:GRANT|CLUSTER|<cluster_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_cluster_grant_default_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role | ||
#Optionally you can include the target id. The privilege is required | ||
terraform import materialize_cluster_grant_default_privilege.example GRANT DEFAULT|CLUSTER|<grantee_id>|<target_role_id>|||<privilege> | ||
terraform import materialize_cluster_grant_default_privilege.example <region>:GRANT DEFAULT|CLUSTER|<grantee_id>|<target_role_id>|||<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_connection_grant.example GRANT|CONNECTION|<connection_id>|<role_id>|<privilege> | ||
terraform import materialize_connection_grant.example <region>:GRANT|CONNECTION|<connection_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_connection_grant_default_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role | ||
#Optionally you can include the target id, database id and schema id. The privilege is required | ||
terraform import materialize_connection_grant_default_privilege.example GRANT DEFAULT|CONNECTION|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
terraform import materialize_connection_grant_default_privilege.example <region>:GRANT DEFAULT|CONNECTION|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_database_grant.example GRANT|DATABASE|<database_id>|<role_id>|<privilege> | ||
terraform import materialize_database_grant.example <region>:GRANT|DATABASE|<database_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_database_grant_default_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role | ||
#Optionally you can include the target id, database id. The privilege is required | ||
terraform import materialize_database_grant_default_privilege.example GRANT DEFAULT|CONNECTION|<grantee_id>|<target_role_id>|<database_id>||<privilege> | ||
terraform import materialize_database_grant_default_privilege.example <region>:GRANT DEFAULT|CONNECTION|<grantee_id>|<target_role_id>|<database_id>||<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_grant_system_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT SYSTEM, the id of the role and the privilege | ||
terraform import materialize_grant_system_privilege.example GRANT SYSTEM|<role_id>|<privilege> | ||
terraform import materialize_grant_system_privilege.example <region>:GRANT SYSTEM|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_materialized_view_grant/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_materialized_view_grant.example GRANT|MATERIALIZED VIEW|<materialized_view_id>|<role_id>|<privilege> | ||
terraform import materialize_materialized_view_grant.example <region>:GRANT|MATERIALIZED VIEW|<materialized_view_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of ROLE MEMBER, the id of the role and id of the member | ||
terraform import materialize_role_grant.example ROLE MEMBER|<role_id>|<member_id> | ||
terraform import materialize_role_grant.example <region>:ROLE MEMBER|<role_id>|<member_id> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_schema_grant.example GRANT|SCHEMA|<schema_id>|<role_id>|<privilege> | ||
terraform import materialize_schema_grant.example <region>:GRANT|SCHEMA|<schema_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_schema_grant_default_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role | ||
#Optionally you can include the target id, database id and schema id. The privilege is required | ||
terraform import materialize_schema_grant_default_privilege.example GRANT DEFAULT|SCHEMA|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
terraform import materialize_schema_grant_default_privilege.example <region>:GRANT DEFAULT|SCHEMA|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_secret_grant.example GRANT|SECRET|<secret_id>|<role_id>|<privilege> | ||
terraform import materialize_secret_grant.example <region>:GRANT|SECRET|<secret_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_secret_grant_default_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role | ||
#Optionally you can include the target id, database id and schema id. The privilege is required | ||
terraform import materialize_secret_grant_default_privilege.example GRANT DEFAULT|SECRET|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
terraform import materialize_secret_grant_default_privilege.example <region>:GRANT DEFAULT|SECRET|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_source_grant.example GRANT|SOURCE|<source_id>|<role_id>|<privilege> | ||
terraform import materialize_source_grant.example <region>:GRANT|SOURCE|<source_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_table_grant.example GRANT|TABLE|<table_id>|<role_id>|<privilege> | ||
terraform import materialize_table_grant.example <region>:GRANT|TABLE|<table_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_table_grant_default_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role | ||
#Optionally you can include the target id, database id and schema id. The privilege is required | ||
terraform import materialize_table_grant_default_privilege.example GRANT DEFAULT|TABLE|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
terraform import materialize_table_grant_default_privilege.example <region>:GRANT DEFAULT|TABLE|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
#Grants can be imported using the concatenation of GRANT, the object type, the id of the object, the id of the role and the privilege | ||
terraform import materialize_type_grant.example GRANT|TYPE|<type_id>|<role_id>|<privilege> | ||
terraform import materialize_type_grant.example <region>:GRANT|TYPE|<type_id>|<role_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
4 changes: 3 additions & 1 deletion
4
examples/resources/materialize_type_grant_default_privilege/import.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#Grants can be imported using the concatenation of GRANT DEFAULT, the grantee id of the role | ||
#Optionally you can include the target id, database id and schema id. The privilege is required | ||
terraform import materialize_type_grant_default_privilege.example GRANT DEFAULT|TYPE|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
terraform import materialize_type_grant_default_privilege.example <region>:GRANT DEFAULT|TYPE|<grantee_id>|<target_role_id>|<database_id>|<schema_id>|<privilege> | ||
|
||
# The region is the region where the database is located (e.g. aws/us-east-1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.