1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. ExternalFeedCreateReleaseTrigger
octopusdeploy 0.42.0 published on Tuesday, Apr 15, 2025 by octopusdeploylabs

octopusdeploy.ExternalFeedCreateReleaseTrigger

Explore with Pulumi AI

This resource manages External feed triggers (release creation type) in Octopus Deploy.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.octopusdeploy.ExternalFeedCreateReleaseTrigger;
import com.pulumi.octopusdeploy.ExternalFeedCreateReleaseTriggerArgs;
import com.pulumi.octopusdeploy.inputs.ExternalFeedCreateReleaseTriggerPackageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var myTrigger = new ExternalFeedCreateReleaseTrigger("myTrigger", ExternalFeedCreateReleaseTriggerArgs.builder()
            .channelId("Channels-21")
            .packages(            
                ExternalFeedCreateReleaseTriggerPackageArgs.builder()
                    .deploymentAction("My Helm step")
                    .packageReference("nginx")
                    .build(),
                ExternalFeedCreateReleaseTriggerPackageArgs.builder()
                    .deploymentAction("My container step")
                    .packageReference("busybox")
                    .build())
            .projectId("Projects-2")
            .spaceId("Spaces-1")
            .build());

    }
}
Copy
resources:
  myTrigger:
    type: octopusdeploy:ExternalFeedCreateReleaseTrigger
    properties:
      channelId: Channels-21
      packages:
        - deploymentAction: My Helm step
          packageReference: nginx
        - deploymentAction: My container step
          packageReference: busybox
      projectId: Projects-2
      spaceId: Spaces-1
Copy

Create ExternalFeedCreateReleaseTrigger Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ExternalFeedCreateReleaseTrigger(name: string, args: ExternalFeedCreateReleaseTriggerArgs, opts?: CustomResourceOptions);
@overload
def ExternalFeedCreateReleaseTrigger(resource_name: str,
                                     args: ExternalFeedCreateReleaseTriggerArgs,
                                     opts: Optional[ResourceOptions] = None)

@overload
def ExternalFeedCreateReleaseTrigger(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     channel_id: Optional[str] = None,
                                     project_id: Optional[str] = None,
                                     external_feed_create_release_trigger_id: Optional[str] = None,
                                     is_disabled: Optional[bool] = None,
                                     name: Optional[str] = None,
                                     packages: Optional[Sequence[ExternalFeedCreateReleaseTriggerPackageArgs]] = None,
                                     primary_packages: Optional[Sequence[ExternalFeedCreateReleaseTriggerPrimaryPackageArgs]] = None,
                                     space_id: Optional[str] = None)
func NewExternalFeedCreateReleaseTrigger(ctx *Context, name string, args ExternalFeedCreateReleaseTriggerArgs, opts ...ResourceOption) (*ExternalFeedCreateReleaseTrigger, error)
public ExternalFeedCreateReleaseTrigger(string name, ExternalFeedCreateReleaseTriggerArgs args, CustomResourceOptions? opts = null)
public ExternalFeedCreateReleaseTrigger(String name, ExternalFeedCreateReleaseTriggerArgs args)
public ExternalFeedCreateReleaseTrigger(String name, ExternalFeedCreateReleaseTriggerArgs args, CustomResourceOptions options)
type: octopusdeploy:ExternalFeedCreateReleaseTrigger
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExternalFeedCreateReleaseTriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExternalFeedCreateReleaseTriggerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalFeedCreateReleaseTriggerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExternalFeedCreateReleaseTriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExternalFeedCreateReleaseTriggerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var externalFeedCreateReleaseTriggerResource = new Octopusdeploy.ExternalFeedCreateReleaseTrigger("externalFeedCreateReleaseTriggerResource", new()
{
    ChannelId = "string",
    ProjectId = "string",
    ExternalFeedCreateReleaseTriggerId = "string",
    IsDisabled = false,
    Name = "string",
    Packages = new[]
    {
        new Octopusdeploy.Inputs.ExternalFeedCreateReleaseTriggerPackageArgs
        {
            DeploymentActionSlug = "string",
            PackageReference = "string",
        },
    },
    PrimaryPackages = new[]
    {
        new Octopusdeploy.Inputs.ExternalFeedCreateReleaseTriggerPrimaryPackageArgs
        {
            DeploymentActionSlug = "string",
        },
    },
    SpaceId = "string",
});
Copy
example, err := octopusdeploy.NewExternalFeedCreateReleaseTrigger(ctx, "externalFeedCreateReleaseTriggerResource", &octopusdeploy.ExternalFeedCreateReleaseTriggerArgs{
ChannelId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
ExternalFeedCreateReleaseTriggerId: pulumi.String("string"),
IsDisabled: pulumi.Bool(false),
Name: pulumi.String("string"),
Packages: .ExternalFeedCreateReleaseTriggerPackageArray{
&.ExternalFeedCreateReleaseTriggerPackageArgs{
DeploymentActionSlug: pulumi.String("string"),
PackageReference: pulumi.String("string"),
},
},
PrimaryPackages: .ExternalFeedCreateReleaseTriggerPrimaryPackageArray{
&.ExternalFeedCreateReleaseTriggerPrimaryPackageArgs{
DeploymentActionSlug: pulumi.String("string"),
},
},
SpaceId: pulumi.String("string"),
})
Copy
var externalFeedCreateReleaseTriggerResource = new ExternalFeedCreateReleaseTrigger("externalFeedCreateReleaseTriggerResource", ExternalFeedCreateReleaseTriggerArgs.builder()
    .channelId("string")
    .projectId("string")
    .externalFeedCreateReleaseTriggerId("string")
    .isDisabled(false)
    .name("string")
    .packages(ExternalFeedCreateReleaseTriggerPackageArgs.builder()
        .deploymentActionSlug("string")
        .packageReference("string")
        .build())
    .primaryPackages(ExternalFeedCreateReleaseTriggerPrimaryPackageArgs.builder()
        .deploymentActionSlug("string")
        .build())
    .spaceId("string")
    .build());
Copy
external_feed_create_release_trigger_resource = octopusdeploy.ExternalFeedCreateReleaseTrigger("externalFeedCreateReleaseTriggerResource",
    channel_id="string",
    project_id="string",
    external_feed_create_release_trigger_id="string",
    is_disabled=False,
    name="string",
    packages=[{
        "deployment_action_slug": "string",
        "package_reference": "string",
    }],
    primary_packages=[{
        "deployment_action_slug": "string",
    }],
    space_id="string")
Copy
const externalFeedCreateReleaseTriggerResource = new octopusdeploy.ExternalFeedCreateReleaseTrigger("externalFeedCreateReleaseTriggerResource", {
    channelId: "string",
    projectId: "string",
    externalFeedCreateReleaseTriggerId: "string",
    isDisabled: false,
    name: "string",
    packages: [{
        deploymentActionSlug: "string",
        packageReference: "string",
    }],
    primaryPackages: [{
        deploymentActionSlug: "string",
    }],
    spaceId: "string",
});
Copy
type: octopusdeploy:ExternalFeedCreateReleaseTrigger
properties:
    channelId: string
    externalFeedCreateReleaseTriggerId: string
    isDisabled: false
    name: string
    packages:
        - deploymentActionSlug: string
          packageReference: string
    primaryPackages:
        - deploymentActionSlug: string
    projectId: string
    spaceId: string
Copy

ExternalFeedCreateReleaseTrigger Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ExternalFeedCreateReleaseTrigger resource accepts the following input properties:

ChannelId This property is required. string
The ID of the channel in which the release will be created if the action type is CreateRelease.
ProjectId This property is required. string
The ID of the project to attach the trigger.
ExternalFeedCreateReleaseTriggerId string
The ID of this resource.
IsDisabled bool
Disables the trigger from being run when set.
Name string
The name of this resource.
Packages List<ExternalFeedCreateReleaseTriggerPackage>
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
PrimaryPackages List<ExternalFeedCreateReleaseTriggerPrimaryPackage>
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
SpaceId string
The space ID associated with the project to attach the trigger.
ChannelId This property is required. string
The ID of the channel in which the release will be created if the action type is CreateRelease.
ProjectId This property is required. string
The ID of the project to attach the trigger.
ExternalFeedCreateReleaseTriggerId string
The ID of this resource.
IsDisabled bool
Disables the trigger from being run when set.
Name string
The name of this resource.
Packages []ExternalFeedCreateReleaseTriggerPackageArgs
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
PrimaryPackages []ExternalFeedCreateReleaseTriggerPrimaryPackageArgs
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
SpaceId string
The space ID associated with the project to attach the trigger.
channelId This property is required. String
The ID of the channel in which the release will be created if the action type is CreateRelease.
projectId This property is required. String
The ID of the project to attach the trigger.
externalFeedCreateReleaseTriggerId String
The ID of this resource.
isDisabled Boolean
Disables the trigger from being run when set.
name String
The name of this resource.
packages List<ExternalFeedCreateReleaseTriggerPackage>
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primaryPackages List<ExternalFeedCreateReleaseTriggerPrimaryPackage>
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
spaceId String
The space ID associated with the project to attach the trigger.
channelId This property is required. string
The ID of the channel in which the release will be created if the action type is CreateRelease.
projectId This property is required. string
The ID of the project to attach the trigger.
externalFeedCreateReleaseTriggerId string
The ID of this resource.
isDisabled boolean
Disables the trigger from being run when set.
name string
The name of this resource.
packages ExternalFeedCreateReleaseTriggerPackage[]
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primaryPackages ExternalFeedCreateReleaseTriggerPrimaryPackage[]
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
spaceId string
The space ID associated with the project to attach the trigger.
channel_id This property is required. str
The ID of the channel in which the release will be created if the action type is CreateRelease.
project_id This property is required. str
The ID of the project to attach the trigger.
external_feed_create_release_trigger_id str
The ID of this resource.
is_disabled bool
Disables the trigger from being run when set.
name str
The name of this resource.
packages Sequence[ExternalFeedCreateReleaseTriggerPackageArgs]
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primary_packages Sequence[ExternalFeedCreateReleaseTriggerPrimaryPackageArgs]
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
space_id str
The space ID associated with the project to attach the trigger.
channelId This property is required. String
The ID of the channel in which the release will be created if the action type is CreateRelease.
projectId This property is required. String
The ID of the project to attach the trigger.
externalFeedCreateReleaseTriggerId String
The ID of this resource.
isDisabled Boolean
Disables the trigger from being run when set.
name String
The name of this resource.
packages List<Property Map>
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primaryPackages List<Property Map>
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
spaceId String
The space ID associated with the project to attach the trigger.

Outputs

All input properties are implicitly available as output properties. Additionally, the ExternalFeedCreateReleaseTrigger resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ExternalFeedCreateReleaseTrigger Resource

Get an existing ExternalFeedCreateReleaseTrigger resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ExternalFeedCreateReleaseTriggerState, opts?: CustomResourceOptions): ExternalFeedCreateReleaseTrigger
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        channel_id: Optional[str] = None,
        external_feed_create_release_trigger_id: Optional[str] = None,
        is_disabled: Optional[bool] = None,
        name: Optional[str] = None,
        packages: Optional[Sequence[ExternalFeedCreateReleaseTriggerPackageArgs]] = None,
        primary_packages: Optional[Sequence[ExternalFeedCreateReleaseTriggerPrimaryPackageArgs]] = None,
        project_id: Optional[str] = None,
        space_id: Optional[str] = None) -> ExternalFeedCreateReleaseTrigger
func GetExternalFeedCreateReleaseTrigger(ctx *Context, name string, id IDInput, state *ExternalFeedCreateReleaseTriggerState, opts ...ResourceOption) (*ExternalFeedCreateReleaseTrigger, error)
public static ExternalFeedCreateReleaseTrigger Get(string name, Input<string> id, ExternalFeedCreateReleaseTriggerState? state, CustomResourceOptions? opts = null)
public static ExternalFeedCreateReleaseTrigger get(String name, Output<String> id, ExternalFeedCreateReleaseTriggerState state, CustomResourceOptions options)
resources:  _:    type: octopusdeploy:ExternalFeedCreateReleaseTrigger    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ChannelId string
The ID of the channel in which the release will be created if the action type is CreateRelease.
ExternalFeedCreateReleaseTriggerId string
The ID of this resource.
IsDisabled bool
Disables the trigger from being run when set.
Name string
The name of this resource.
Packages List<ExternalFeedCreateReleaseTriggerPackage>
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
PrimaryPackages List<ExternalFeedCreateReleaseTriggerPrimaryPackage>
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
ProjectId string
The ID of the project to attach the trigger.
SpaceId string
The space ID associated with the project to attach the trigger.
ChannelId string
The ID of the channel in which the release will be created if the action type is CreateRelease.
ExternalFeedCreateReleaseTriggerId string
The ID of this resource.
IsDisabled bool
Disables the trigger from being run when set.
Name string
The name of this resource.
Packages []ExternalFeedCreateReleaseTriggerPackageArgs
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
PrimaryPackages []ExternalFeedCreateReleaseTriggerPrimaryPackageArgs
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
ProjectId string
The ID of the project to attach the trigger.
SpaceId string
The space ID associated with the project to attach the trigger.
channelId String
The ID of the channel in which the release will be created if the action type is CreateRelease.
externalFeedCreateReleaseTriggerId String
The ID of this resource.
isDisabled Boolean
Disables the trigger from being run when set.
name String
The name of this resource.
packages List<ExternalFeedCreateReleaseTriggerPackage>
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primaryPackages List<ExternalFeedCreateReleaseTriggerPrimaryPackage>
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
projectId String
The ID of the project to attach the trigger.
spaceId String
The space ID associated with the project to attach the trigger.
channelId string
The ID of the channel in which the release will be created if the action type is CreateRelease.
externalFeedCreateReleaseTriggerId string
The ID of this resource.
isDisabled boolean
Disables the trigger from being run when set.
name string
The name of this resource.
packages ExternalFeedCreateReleaseTriggerPackage[]
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primaryPackages ExternalFeedCreateReleaseTriggerPrimaryPackage[]
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
projectId string
The ID of the project to attach the trigger.
spaceId string
The space ID associated with the project to attach the trigger.
channel_id str
The ID of the channel in which the release will be created if the action type is CreateRelease.
external_feed_create_release_trigger_id str
The ID of this resource.
is_disabled bool
Disables the trigger from being run when set.
name str
The name of this resource.
packages Sequence[ExternalFeedCreateReleaseTriggerPackageArgs]
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primary_packages Sequence[ExternalFeedCreateReleaseTriggerPrimaryPackageArgs]
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
project_id str
The ID of the project to attach the trigger.
space_id str
The space ID associated with the project to attach the trigger.
channelId String
The ID of the channel in which the release will be created if the action type is CreateRelease.
externalFeedCreateReleaseTriggerId String
The ID of this resource.
isDisabled Boolean
Disables the trigger from being run when set.
name String
The name of this resource.
packages List<Property Map>
List of referenced packages that will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
primaryPackages List<Property Map>
List of deployment actions for which the primary packages will cause the trigger to fire. New versions of any of the packages you select will trigger release creation.
projectId String
The ID of the project to attach the trigger.
spaceId String
The space ID associated with the project to attach the trigger.

Supporting Types

ExternalFeedCreateReleaseTriggerPackage
, ExternalFeedCreateReleaseTriggerPackageArgs

DeploymentActionSlug This property is required. string
PackageReference This property is required. string
DeploymentActionSlug This property is required. string
PackageReference This property is required. string
deploymentActionSlug This property is required. String
packageReference This property is required. String
deploymentActionSlug This property is required. string
packageReference This property is required. string
deployment_action_slug This property is required. str
package_reference This property is required. str
deploymentActionSlug This property is required. String
packageReference This property is required. String

ExternalFeedCreateReleaseTriggerPrimaryPackage
, ExternalFeedCreateReleaseTriggerPrimaryPackageArgs

DeploymentActionSlug This property is required. string
DeploymentActionSlug This property is required. string
deploymentActionSlug This property is required. String
deploymentActionSlug This property is required. string
deployment_action_slug This property is required. str
deploymentActionSlug This property is required. String

Import

$ pulumi import octopusdeploy:index/externalFeedCreateReleaseTrigger:ExternalFeedCreateReleaseTrigger [options] octopusdeploy_external_feed_create_release_trigger.<name> <trigger-id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
License
Notes
This Pulumi package is based on the octopusdeploy Terraform Provider.