Deploy.ps1 script in a terraform package

Hello

If I consume a package of scripts in a terraform plan or apply step, it seems like the deploy.ps1 custom script file is not executed. From the look of your docs https://octopus.com/docs/deployment-examples/custom-scripts it is not clear if this is expected behavior or not? It would be useful to be able to do some scripting before the terraform step is executed but perhaps this is not supported?

Thanks

Hi Alastair,

Thanks for reaching out, Unfortunately this is the expected behavior, the custom scripts within the package are not executed when deployed with the Terraform steps. It is something that is up for discussion, and if you are up for it, it might be worth suggesting on our uservoice site.

I hope that helps, please let me know if you have any further questions.

Kind Regards,
Tom W

Ok, thanks. I have created https://octopusdeploy.uservoice.com/forums/170787-general/suggestions/35362540-allow-terraform-step-script-packages-to-have-deplo

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.