-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: external feed trigger resource
* Upgrade octopus library version * New Terraform resources for External feed CreateRelease triggers * New integration test for the new trigger resource * Point integration test Docker image to the latest Octopus server versions available to Cloud customers so that they can start using Terraform provider changes when the feature is rolled out to Cloud * Remove external_security_group since new db entry for TeamExternalSecurityGroup does not allow null GroupId. The test isn't making assertions on this either. * Remove PollingRequestMaximumMessageProcessingTimeout from machine policy as it has been removed from Octopus Server
- Loading branch information
Showing
44 changed files
with
719 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "octopusdeploy_external_feed_create_release_trigger Resource - terraform-provider-octopusdeploy" | ||
subcategory: "Triggers" | ||
description: |- | ||
This resource manages External feed triggers (release creation type) in Octopus Deploy. | ||
--- | ||
|
||
# octopusdeploy_external_feed_create_release_trigger (Resource) | ||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "octopusdeploy_external_feed_create_release_trigger" "my_trigger" { | ||
name = "My feed trigger" | ||
space_id = "Spaces-1 | ||
project_id = "Projects-2" | ||
package { | ||
deployment_action = "My Helm step" | ||
package_reference = "nginx" | ||
} | ||
package { | ||
deployment_action = "My container step" | ||
package_reference = "busybox" | ||
} | ||
channel_id = "Channels-21" | ||
} | ||
``` | ||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `channel_id` (String) The ID of the channel in which the release will be created if the action type is CreateRelease. | ||
- `name` (String) The name of this resource. | ||
- `package` (Block List, Min: 1) List of package references that will cause the trigger to fire. The triggering condition is if any of the packages are updated. (see [below for nested schema](#nestedblock--package)) | ||
- `project_id` (String) The ID of the project to attach the trigger. | ||
- `space_id` (String) The space ID associated with the project to attach the trigger. | ||
|
||
### Optional | ||
|
||
- `is_disabled` (Boolean) Disables the trigger from being run when set. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--package"></a> | ||
### Nested Schema for `package` | ||
|
||
Optional: | ||
|
||
- `deployment_action` (String) | ||
- `package_reference` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.