Hello everyone.
I’ve run into a bit of a problem and can’t find answers online
We used to develop and deploy with Terraform in local on a Windows10 computer. Now that we’re moving the pipeline to Jenkins (that is running on CentOS) between our gitlab repository and AWS environment.
When we execute the plan in jenkins, terraform want to destroy and recreate everything despite been up to date when using my local computer
terraform correctly find the tfstate in our backend ( terraform show return identical result). We are using a S3 bucket as the backend
init has correctly been done and terraform provider is identical as well
Terraform Version
terraform 12.28
Terraform environement
jenkins 2.249.2
terraform Plugin 1.0.10
pipeline AWS Steps 1.43
jenkins machine: Centos 7.7.1908
local computer: Windows 10
I’m currently out of ideas on what could cause the difference of behavior between local and jenkins. If you have any idea what may have caused it, anything is welcome