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

SNOW-1348115: Add support for column tags #1074

Closed
ogr003 opened this issue Jun 24, 2022 · 3 comments
Closed

SNOW-1348115: Add support for column tags #1074

ogr003 opened this issue Jun 24, 2022 · 3 comments
Assignees
Labels
category:resource feature-request Used to mark issues with provider's missing functionalities resource:tag Issue connected to the snowflake_tag resource

Comments

@ogr003
Copy link
Contributor

ogr003 commented Jun 24, 2022

Is your feature request related to a problem? Please describe.

Snowflake tables support tags, but columns do not. This stops us from managing all tags within Terraform.

Describe the solution you'd like

The ability to implement tags for columns in the same way as for tables:

resource "snowflake_tag" "test_tag" {
  database       = "TEST_DB"
  schema         = "TEST_SCHEMA"
  name           = "TEST_TAG"
  allowed_values = ["TABLE", "COLUMN"]
}

resource "snowflake_table" "test_table" {
  database = snowflake_schema.schema.database
  schema   = snowflake_schema.schema.name
  name     = "TEST_TABLE"

  tag {
    name     = snowflake_tag.test_tag.name
    database = snowflake_tag.test_tag.database
    schema   = snowflake_tag.test_tag.schema
    value    = "TABLE"
  }

  column {
    name     = "data"
    type     = "text"
    nullable = false

    tag {
      name     = snowflake_tag.test_tag.name
      database = snowflake_tag.test_tag.database
      schema   = snowflake_tag.test_tag.schema
      value    = "COLUMN"
    }
  }
}
@ogr003 ogr003 added the feature-request Used to mark issues with provider's missing functionalities label Jun 24, 2022
@sfc-gh-kumaurya
Copy link
Contributor

Sure, we do need this feature in our provider. I'll start working on this feature request.

@sfc-gh-jmichalak
Copy link
Collaborator

Hi @ogr003 👋

We've just released v0.100.0 (release, migration guide) in which we reworked tag associations. Tags can be assigned to columns in the tag_association resource.
Please upgrade to this version and let us know if you have any issues.

@sfc-gh-jmichalak sfc-gh-jmichalak self-assigned this Dec 16, 2024
@sfc-gh-dszmolka sfc-gh-dszmolka changed the title Add support for column tags SNOW-1348115: Add support for column tags Dec 28, 2024
@sfc-gh-dszmolka
Copy link
Collaborator

closing this out as it should be fixed now as my colleague mentioned. Do let us know if you still see issues with v1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:resource feature-request Used to mark issues with provider's missing functionalities resource:tag Issue connected to the snowflake_tag resource
Projects
None yet
Development

No branches or pull requests

5 participants