Hi and welcome to this lesson, one of the questions you may have gone along this course is what if
you have multiple environments to support?
So let's say you've got Deb, you've got a test, you got UAC staging pretty pearl and you've got production.
Now, what you don't want to be doing is creating terror from false specific to each environment will
be better would be to have variable false negative come from the helm.
Cause you know this because we can have different variable false.
And it's something we touched on the terror from SERP course as well.
It is completely possible to do in TerraForm as well.
So I want to show you a really good example and one again, you'll very likely to see it.
So what we'll do is we'll copy the count demo.
So we'll copy that and we'll paste it.
And I'm going to rename this and call it Vase Inside Main, let's see if we have counts.
And again, you set this up a bit like an input variable, so our variable.
And we can call it number unschool of underscore service or maybe something a bit shorter.
Also a type equal to and it's going to be of type number then for the count will set out to VAR Dot
and we'll copy and paste this.
Inside here, we can create a new file and we can call this test dot T.F. Balls, and let's have you
got another one, which is to be proud, dot T.F. Boss.
Can my case it's Copiah inside a terrible plugins folder, which is what we don't want.
So now we have two variable files.
We have test, which could be a test environment and we have prote.
And this is what's really interesting and this is how we use them.
We paste the variable night and the value we want to give it.
So you could say testament to instances.
And in proj, we want 50.
Now, if we go up savu go to Terminal C intervals.
This from Terfel in its.
Excellent.
And what we can do is go ahead and run.
Terrible plan, dash vore, dash file equal to number two test thought T.F. Boss.
Excellent.
You can see who's going to create two instances.
Now, let's go ahead and do prote top tier Tharp's.
There's a reason I'm using Brud and not apply it because I don't want it.
Go ahead and create 50 instances.
So that's just a brief them of how you can do it.
It's completely possible.
And that's how you would do it normally if you're using some sort of CIC solution.
Again, you could just pass in this flight ashfall dash file and pass in the variable file you need.
That wraps up this lesson.
I look forward to seeing you in the next.