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

[Feature]: OCSP_CACHE_REGIONLESS Data Source not available on Terraform #2831

Open
1 task done
ravisingh27 opened this issue May 21, 2024 · 4 comments
Open
1 task done
Labels
feature-request Used to mark issues with provider's missing functionalities

Comments

@ravisingh27
Copy link

Use Cases or Problem Statement

OCSP_CACHE_REGIONLESS Data Source is not available on Terraform.
We use both OCSP_CACHE and OCSP_CACHE_REGIONLESS in our environment, as of now we can get the OCSP_CACHE dynamically as we have the data source on terraform but couldn't find the OCSP_CACHE_REGIONLESS is there a way to get this dynamically through terraform data source.

Category

category:data_source

Object type(s)

data_source:system_get_privatelink_config

Proposal

Please include OCSP_CACHE_REGIONLESS as a terraform data source.
data "snowflake_system_get_privatelink_config" "snowflake_private_link" {}

How much impact is this issue causing?

Medium

Additional Information

No response

Would you like to implement a fix?

  • Yeah, I'll take it 😎
@ravisingh27 ravisingh27 added the feature-request Used to mark issues with provider's missing functionalities label May 21, 2024
@sfc-gh-asawicki
Copy link
Collaborator

Hey @ravisingh27. Thanks for reaching out to us.

Are you talking about making a datasource out of system$allowlist_privatelink or which other existing SQL statement?

@ravisingh27
Copy link
Author

ravisingh27 commented May 21, 2024

Hi @sfc-gh-asawicki Yes- for OCSP_CACHE_REGIONLESS
Ex.
ocsp.vnb92357.us-east-2.privatelink.snowflakecomputing.com -> We can get this URL
ocsp.lseg-snoxxxxxxtprod.privatelink.snowflakecomputing.com -> Unable to get this URL

@sfc-gh-asawicki
Copy link
Collaborator

We did not plan to add such datasources before the V1 (consult https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#current-expected-midlate-this-year). We had, however, planned to create a generic datasource capable of invoking any snowflake system$ function (we have to first squeeze it in, design it, and discuss it in detail).

So we have a few options here:

What do you think?

@sfc-gh-asawicki
Copy link
Collaborator

Hey @ravisingh27. Did you think about the options above? ;)

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