I’m trying to create deployment steps from the API. (The goal is to make a Terraform Resource for Octopus Deploy)
I can get a list of the built-in Octopus Deploy Action Templates at
From there, is there any way from the API I can see what the Step properties are for the built-in ActionTypes?
I would need these for all ActionTypes so I can model them in the Terraform resource.
Thanks for getting in touch! Unfortunately this information is not available via the API. However, I can provide you with a link to our Calamari open source code which has a categorised list with the majority of available Properties.
This file has been truncated.
public static class SpecialVariables
public const string LastErrorMessage = "OctopusLastErrorMessage";
public const string LastError = "OctopusLastError";
public static readonly string AppliedXmlConfigTransforms = "OctopusAppliedXmlConfigTransforms";
public static string GetLibraryScriptModuleName(string variableName)
return variableName.Replace("Octopus.Script.Module[", "").TrimEnd(']');
public static bool IsExcludedFromLocalVariables(string name)
public static bool IsLibraryScriptModule(string variableName)
I think this is the closest we have to what you are after so I’m hoping it helps you out here.
If you have any thoughts or questions here, please let me know and I’ll do my best to help.
This will help keep me going for a while
Definitely will make my resource a more complicated as the Octopus UI does a ton of heavy lifting that I cannot see for step creation ;/
Let’s see how I go!
If you are interested:
Still under HEAVY development.
Thanks for the update, I’m glad I was able to help out a bit here.
Please feel free to get in touch at any time.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.