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

Ignoring sub-projects #15

Open
ryancrawcour opened this issue Aug 20, 2024 · 1 comment
Open

Ignoring sub-projects #15

ryancrawcour opened this issue Aug 20, 2024 · 1 comment

Comments

@ryancrawcour
Copy link

When using this provider, i can setup a project, and sub-projects, etc. great.

However, i want to let users create additional sub-projects under the root-level project i provision for each team.

If a user adds the project directly in the Tableau UX that the state file doesn't know about Tf tries to remove the project, as it should, as is typical of Tf.

Is there a way to get the provider to ignore things it doesn't know about, rather than delete them?
Is there a way to get the provider to only care about projects up to a specified level? i.e. care about the Tableau root level projects, and any child projects, but then not care about any children to the root-level children?

tableau
-- main
-- -- finance
-- -- -- some folder
-- -- -- some other folder
-- -- marketing
-- -- sales

in this example, have Tf care about main, finance, marketing and sales, but ignore the fact that there are these "other folders" under finance.

@GtheSheep
Copy link
Owner

Hey, thanks for reporting this!
Just to check I understand correctly, it's removing the sub-projects at any subsequent apply after the top level project is provisioned? Or during any specific tf actions?
Generally TF is setup to just ignore things it doesn't know about/ "own", so this feels weird, good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants