Skip to content

Commit

Permalink
feat: Add scheduled project trigger (#620)
Browse files Browse the repository at this point in the history
Added new resource `project_scheduled_trigger` to managing scheduled project/runbook triggers
  • Loading branch information
tleed5 committed Mar 27, 2024
1 parent 5d1a9f0 commit 460fb08
Show file tree
Hide file tree
Showing 60 changed files with 1,616 additions and 39 deletions.
2 changes: 2 additions & 0 deletions docs/data-sources/azure_cloud_service_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/azure_web_app_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/certificates.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ Read-Only:
- `tenants` (List of String) A list of tenant IDs associated with this resource.
- `thumbprint` (String)
- `version` (Number)


2 changes: 2 additions & 0 deletions docs/data-sources/channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ Read-Only:

- `deployment_action` (String)
- `package_reference` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/cloud_region_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,3 +166,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ Read-Only:
Read-Only:

- `is_enabled` (Boolean)


2 changes: 2 additions & 0 deletions docs/data-sources/git_credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ Read-Only:
- `space_id` (String) The space ID associated with this resource.
- `type` (String) The Git credential authentication type.
- `username` (String) The username for the Git credential.


2 changes: 2 additions & 0 deletions docs/data-sources/kubernetes_cluster_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,5 @@ Read-Only:
Read-Only:

- `token_path` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/library_variable_sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ Read-Only:
- `id` (String)
- `label` (String)
- `name` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/lifecycles.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,5 @@ Read-Only:
- `quantity_to_keep` (Number)
- `should_keep_forever` (Boolean)
- `unit` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/listening_tentacle_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/machine.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ description: |-
- `tenanteddeploymentparticipation` (String)
- `tenantids` (List of String)
- `tenanttags` (List of String)


2 changes: 2 additions & 0 deletions docs/data-sources/machine_policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,5 @@ Read-Only:
- `calamari_update_behavior` (String)
- `tentacle_update_account_id` (String)
- `tentacle_update_behavior` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/offline_package_drop_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/polling_tentacle_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/project_groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ Read-Only:
- `name` (String) The name of this resource.
- `retention_policy_id` (String) The ID of the retention policy associated with this project group.
- `space_id` (String) The space ID associated with this project group.


2 changes: 2 additions & 0 deletions docs/data-sources/projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,5 @@ Read-Only:

- `deployment_action` (String)
- `package_reference` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/script_modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ Read-Only:

- `body` (String)
- `syntax` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/space.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ Provides information about an existing space.
- `slug` (String) The unique slug of this space.
- `space_managers_team_members` (Set of String) A list of user IDs designated to be managers of this space.
- `space_managers_teams` (Set of String) A list of team IDs designated to be managers of this space.


2 changes: 2 additions & 0 deletions docs/data-sources/spaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ Read-Only:
- `slug` (String) The unique slug of this space.
- `space_managers_team_members` (Set of String) A list of user IDs designated to be managers of this space.
- `space_managers_teams` (Set of String) A list of team IDs designated to be managers of this space.


2 changes: 2 additions & 0 deletions docs/data-sources/ssh_connection_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,5 @@ Read-Only:
- `upgrade_required` (Boolean)
- `upgrade_suggested` (Boolean)
- `version` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/tag_sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ Read-Only:
- `name` (String) The name of this resource.
- `sort_order` (Number) The sort order associated with this resource.
- `space_id` (String) The space ID associated with this resource.


2 changes: 2 additions & 0 deletions docs/data-sources/teams.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ Read-Only:
- `display_id_and_name` (Boolean)
- `display_name` (String)
- `id` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/tenants.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,5 @@ Read-Only:

- `environments` (List of String)
- `project_id` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/user_roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ Read-Only:
- `space_permission_descriptions` (List of String)
- `supported_restrictions` (List of String)
- `system_permission_descriptions` (List of String)


2 changes: 2 additions & 0 deletions docs/data-sources/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ Read-Only:
- `is_identifying_claim` (Boolean)
- `name` (String)
- `value` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,5 @@ Read-Only:

- `display_name` (String)
- `value` (String)


2 changes: 2 additions & 0 deletions docs/data-sources/worker_pools.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ Read-Only:
- `space_id` (String) The space ID associated with this resource.
- `worker_pool_type` (String)
- `worker_type` (String)


40 changes: 40 additions & 0 deletions docs/resources/aws_openid_connect_account.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "octopusdeploy_aws_openid_connect_account Resource - terraform-provider-octopusdeploy"
subcategory: ""
description: |-
This resource manages AWS OIDC accounts in Octopus Deploy.
---

# octopusdeploy_aws_openid_connect_account (Resource)

This resource manages AWS OIDC accounts in Octopus Deploy.



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String) The name of this AWS OIDC account.
- `role_arn` (String) The Amazon Resource Name (ARN) of the role that the caller is assuming.

### Optional

- `account_test_subject_keys` (List of String) Keys to include in an account test. Valid options are: `space`, `account`, `type`
- `description` (String) A user-friendly description of this AWS OIDC account.
- `environments` (List of String) A list of environment IDs associated with this resource.
- `execution_subject_keys` (List of String) Keys to include in a deployment or runbook. Valid options are `space`, `environment`, `project`, `tenant`, `runbook`, `account`, `type`
- `health_subject_keys` (List of String) Keys to include in a health check. Valid options are `space`, `account`, `target`, `type`
- `session_duration` (Number) The duration, in seconds, of the role session.
- `space_id` (String) The space ID associated with this resource.
- `tenant_tags` (List of String) A list of tenant tags associated with this resource.
- `tenanted_deployment_participation` (String) The tenanted deployment mode of the resource. Valid account types are `Untenanted`, `TenantedOrUntenanted`, or `Tenanted`.
- `tenants` (List of String) A list of tenant IDs associated with this resource.

### Read-Only

- `id` (String) The ID of this resource.


14 changes: 10 additions & 4 deletions docs/resources/external_feed_create_release_trigger.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "octopusdeploy_external_feed_create_release_trigger Resource - terraform-provider-octopusdeploy"
subcategory: "Triggers"
description: |-
Expand All @@ -8,13 +7,14 @@ description: |-

# octopusdeploy_external_feed_create_release_trigger (Resource)

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

## Example Usage

```terraform
resource "octopusdeploy_external_feed_create_release_trigger" "my_trigger" {
name = "My feed trigger"
space_id = "Spaces-1
space_id = "Spaces-1"
project_id = "Projects-2"
package {
deployment_action = "My Helm step"
Expand All @@ -27,8 +27,6 @@ resource "octopusdeploy_external_feed_create_release_trigger" "my_trigger" {
channel_id = "Channels-21"
}
```


<!-- schema generated by tfplugindocs -->
## Schema

Expand All @@ -55,3 +53,11 @@ Optional:

- `deployment_action` (String)
- `package_reference` (String)

## Import

Import is supported using the following syntax:

```shell
terraform import [options] octopusdeploy_external_feed_create_release_trigger.<name> <trigger-id>
```
2 changes: 2 additions & 0 deletions docs/resources/git_credential.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ This resource manages Git credentials in Octopus Deploy.
- `id` (String) The unique ID for this resource.
- `space_id` (String) The space ID associated with this resource.
- `type` (String) The Git credential authentication type.


2 changes: 2 additions & 0 deletions docs/resources/library_variable_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ Optional:
- `help_text` (String) The help presented alongside the parameter input.
- `id` (String) The unique ID for this resource.
- `label` (String) The label shown beside the parameter when presented in the deployment process. Example: `Server name`.


2 changes: 2 additions & 0 deletions docs/resources/machine_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ Optional:
- `calamari_update_behavior` (String)
- `tentacle_update_account_id` (String)
- `tentacle_update_behavior` (String)


0 comments on commit 460fb08

Please sign in to comment.