Looking to get pointed in the right direction:

I am trying to build a pipeline that will recognize changes in a remote terraform template that will recognize changes compared to the previous git command before mine and have it only apply those changes by using specified commands:

terraform get -update
terraform plan

I also want it to display to the user and have user confirmation to proceed and have 2 min for total user response

Still green with Jenkins but so far:

I have the git fetch stage to grab the branch on the remote repository

A terraform init stage to initialize terraform

Can anyone point me to the right direction to detect the changes and apply them with the commands?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.