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

chore: Add missing outputs #6

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ module "snowflake_shared_database" {
| Name | Description |
|------|-------------|
| <a name="output_catalog"></a> [catalog](#output\_catalog) | The database parameter that specifies the default catalog to use for Iceberg tables |
| <a name="output_comment"></a> [comment](#output\_comment) | The comment for the database |
| <a name="output_default_ddl_collation"></a> [default\_ddl\_collation](#output\_default\_ddl\_collation) | Specifies a default collation specification for all schemas and tables added to the database. |
| <a name="output_enable_console_output"></a> [enable\_console\_output](#output\_enable\_console\_output) | If true, enables stdout/stderr fast path logging for anonymous stored procedures |
| <a name="output_external_volume"></a> [external\_volume](#output\_external\_volume) | The database parameter that specifies the default external volume to use for Iceberg tables |
| <a name="output_from_share"></a> [from\_share](#output\_from\_share) | The name of the share from which the database is created |
| <a name="output_fully_qualified_name"></a> [fully\_qualified\_name](#output\_fully\_qualified\_name) | The fully qualified name of the database |
| <a name="output_log_level"></a> [log\_level](#output\_log\_level) | Specifies the severity level of messages that should be ingested and made available in the active event table. Valid options are: [TRACE DEBUG INFO WARN ERROR FATAL OFF] |
| <a name="output_name"></a> [name](#output\_name) | Name of the database |
| <a name="output_quoted_identifiers_ignore_case"></a> [quoted\_identifiers\_ignore\_case](#output\_quoted\_identifiers\_ignore\_case) | If true, the case of quoted identifiers is ignored |
Expand Down
15 changes: 15 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ output "name" {
value = one(snowflake_shared_database.this[*].name)
}

output "from_share" {
description = "The name of the share from which the database is created"
value = one(snowflake_shared_database.this[*].from_share)
}

output "comment" {
description = "The comment for the database"
value = one(snowflake_shared_database.this[*].comment)
}

output "external_volume" {
description = "The database parameter that specifies the default external volume to use for Iceberg tables"
value = one(snowflake_shared_database.this[*].external_volume)
Expand Down Expand Up @@ -68,6 +78,11 @@ output "enable_console_output" {
value = one(snowflake_shared_database.this[*].enable_console_output)
}

output "fully_qualified_name" {
description = "The fully qualified name of the database"
value = one(snowflake_shared_database.this[*].fully_qualified_name)
}

output "roles" {
description = "Snowflake Roles"
value = local.roles
Expand Down
Loading