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

feat(resource|domain): kick-off beta version implementation #35

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

ndopj
Copy link
Contributor

@ndopj ndopj commented Oct 7, 2023

Monte Carlo domains snapshot.
Documentation on domains can be found here: https://docs.getmontecarlo.com/docs/what-are-domains

Domains in Monte Carlo simply let you define a collection of tables or views by selecting a combination of tables, schemas or databases. Domains can be used to create notifications and authorization groups as a way to adjust the scope without having to redefine a list of tables every time.

This feature request implements initial functionality for montecarlo_domain resource which can be used to control Monte Carlo domains from Terraform. So far only basic functionality is supported:

  • Create
  • Read
  • Update
  • Delete

Assignments inputs in Terraform configuration attribute for this resource are accepted as Raw values. Therefore it might not be feasible for some of the users to use current state of the implementation. Raw inputs are MCON's identifier from Monte Carlo. As was stated in the communication with Monte Carlo:

MCON is essentially our universal identifier (if you're familiar with AWS you can think of it like the ARN)
It is composed like this: MCON++{account_uuid}++{resource_uuid}++{object_type}++{object_id}
And using your Account ID and Resource ID (which is the same as your warehouse ID) you should be able to construct this value for various projects and datasets

@ndopj ndopj added the feature New feature or request label Oct 7, 2023
@ndopj ndopj self-assigned this Oct 7, 2023
@ndopj ndopj merged commit 6a3036e into master Oct 7, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant