Jenkins provider making the EC2 instance re-create

Hi Team,

We use terraform to create resources in AWS. From last week we started using jenkins provider to create jenkins job while the instance getting created.

Soo far good.

But when we change instance_type or instance count, the EC2 instance getting re-created also the jenkins job. Please let us the issue behind this.

Rajesh B