Skip to content

Commit

Permalink
Merge pull request #6 from getindata/chore/add-missing-outputs
Browse files Browse the repository at this point in the history
chore: Add missing outputs
  • Loading branch information
dgniewek authored Sep 23, 2024
2 parents a956552 + 7638909 commit a16a971
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
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

0 comments on commit a16a971

Please sign in to comment.