Feature Idea: Directives #52
titan-teej
started this conversation in
Ideas
Replies: 2 comments
-
Tags would benefit the most. Having to write tags config for 100s of different resources sucks. So instead of defining a zillion tags, you could do this: config:
tags:
provisioners:
- name: auto_tag
tag:
cost_center: finance |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've seen a few cases now where users have chosen Python over yaml in order to implement resource defaults. A "default" directive may be a good first step towards a more comprehensive system. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Titan Core should have a way to automate certain types of Snowflake best practices without the need to write a bunch of config for it. The example I had in mind was "custom roles should always be granted to SYSADMIN". There are plenty more, probably dozens.
How this would work: the YAML spec adds a
config
block. This config block has a section for each resource type.Resource configs can have 2 types of entries:
field_defaults
, which sets a default for all resources of that type in the file, andprovisioners
that create new resources dynamically.Beta Was this translation helpful? Give feedback.
All reactions