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

DDL to TF? #712

Closed
gliptak opened this issue Oct 8, 2021 Discussed in #685 · 1 comment
Closed

DDL to TF? #712

gliptak opened this issue Oct 8, 2021 Discussed in #685 · 1 comment
Labels
feature-request Used to mark issues with provider's missing functionalities

Comments

@gliptak
Copy link
Contributor

gliptak commented Oct 8, 2021

Discussed in #685

Originally posted by gliptak September 15, 2021
Many DB tools generate DDL commands like:

CREATE TABLE employees (
    id            INTEGER       PRIMARY KEY,
    first_name    VARCHAR(50)   not null,
);

the corresponding TF snippet might be:

  column {
    name     = "id"
    type     = "INTEGER"
    nullable = false
  }

  column {
    name     = "first_name"
    type     = "VARCHAR(50)"
    nullable = false
  }

  primary_key {
    name = "my_key"
    keys = ["id"]
  }

What are the recommended ways to use(/convert?) DDL generated by various DB tools in Snowflake Terraform provider?

@sfc-gh-asawicki sfc-gh-asawicki added the feature-request Used to mark issues with provider's missing functionalities label Dec 19, 2023
@sfc-gh-asawicki
Copy link
Collaborator

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.

@sfc-gh-asawicki sfc-gh-asawicki closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used to mark issues with provider's missing functionalities
Projects
None yet
Development

No branches or pull requests

2 participants