You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently transitioning some of our configuration from Terraform to Titan.
One thing I miss is in Terraform you got data resources. I can create the following constructs:
data "snowflake_users" "physical_users" {
like = "%@XXX.XXX"
with_describe = false
with_parameters = false
}
And use the results in my config.
I was thinking this could be replaced with variables. But as the construct above gives me 100s of results it would be useful if I could fill the variable with the result of a query. I know this can easily be done if you're using the Python API, but it could be nice if this is possible from Yaml too.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm currently transitioning some of our configuration from Terraform to Titan.
One thing I miss is in Terraform you got data resources. I can create the following constructs:
And use the results in my config.
I was thinking this could be replaced with variables. But as the construct above gives me 100s of results it would be useful if I could fill the variable with the result of a query. I know this can easily be done if you're using the Python API, but it could be nice if this is possible from Yaml too.
Beta Was this translation helpful? Give feedback.
All reactions