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

Not supporting multiple process groups #16

Open
kailasjc123 opened this issue Jun 28, 2018 · 3 comments
Open

Not supporting multiple process groups #16

kailasjc123 opened this issue Jun 28, 2018 · 3 comments

Comments

@kailasjc123
Copy link

Hello team,
I have created a component which will read the nifi template xml and dynamically generate the terraform script. It is working as expected when I create a one process group and deploy the components under that process group. I have multiple flows(and multiple template xmls) in nifi and when I created a separate flow from a separate template file and tried to deploy that using terraform, it identifies the similar elements in previously deployed flow and treats as a delta. In other words it deletes the elements in the first flow which are present in the first process group and deploys the new flow with the new components. Similar components in the second flow are treated as a delta.
Is this provider able to support only one flow. Or are we expected to generate the terraform script using flow.xml(which will contain the complete flow details) and always do a delete insert of the complete system. Please confirm. Thanking you in anticipation

@colindean
Copy link
Contributor

@kailasjc123 Is that component that converts NiFi template XML to Terraform something you can share? I was thinking about developing something along that lines for myself but if you've already got it done…

@KailasJanardhanan
Copy link
Contributor

Hello Colin,
I am working in Software Service Company and working for a Fashion Retailer. Basically I don't own the code and share that.
We will be making this public along with the update in nifi-provider in a week or so. Once we do I will intimate you.

PS:- We started with template xml, however now we are using the flow.xml to generate the complete nifi flow. I am not sure whether that will meet your purpose

@shashanksurya
Copy link

@colindean https://github.com/Nordstrom/nifi_terraform_generator

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

4 participants