diff --git a/docs/data-sources/feeds.md b/docs/data-sources/feeds.md index 3cc2e6fd9..a87cebe57 100644 --- a/docs/data-sources/feeds.md +++ b/docs/data-sources/feeds.md @@ -26,7 +26,7 @@ data "octopusdeploy_feeds" "example" { ### Optional -- `feed_type` (String) A filter to search by feed type. Valid feed types are `AwsElasticContainerRegistry`, `BuiltIn`, `Docker`, `GitHub`, `Helm`, `Maven`, `NuGet`, or `OctopusProject`. +- `feed_type` (String) A filter to search by feed type. Valid feed types are `AwsElasticContainerRegistry`, `BuiltIn`, `Docker`, `GitHub`, `Helm`, `Maven`, `NuGet`, `OciRegistry` or `OctopusProject`. - `ids` (List of String) A filter to search by a list of IDs. - `name` (String) The name of this resource. - `partial_name` (String) A filter to search by a partial name. @@ -49,7 +49,7 @@ Read-Only: - `delete_unreleased_packages_after_days` (Number) - `download_attempts` (Number) The number of times a deployment should attempt to download a package from this feed before failing. - `download_retry_backoff_seconds` (Number) The number of seconds to apply as a linear back off between download attempts. -- `feed_type` (String) A filter to search by feed type. Valid feed types are `AwsElasticContainerRegistry`, `BuiltIn`, `Docker`, `GitHub`, `Helm`, `Maven`, `NuGet`, or `OctopusProject`. +- `feed_type` (String) A filter to search by feed type. Valid feed types are `AwsElasticContainerRegistry`, `BuiltIn`, `Docker`, `GitHub`, `Helm`, `Maven`, `NuGet`, `OciRegistry` or `OctopusProject`. - `feed_uri` (String) - `id` (String) The unique ID for this resource. - `is_enhanced_mode` (Boolean) diff --git a/docs/resources/oci_registry_feed.md b/docs/resources/oci_registry_feed.md new file mode 100644 index 000000000..989b475ef --- /dev/null +++ b/docs/resources/oci_registry_feed.md @@ -0,0 +1,48 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "octopusdeploy_oci_registry_feed Resource - terraform-provider-octopusdeploy" +subcategory: "" +description: |- + This resource manages a OCI Registry feed in Octopus Deploy. +--- + +# octopusdeploy_oci_registry_feed (Resource) + +This resource manages a OCI Registry feed in Octopus Deploy. + +## Example Usage + +```terraform +resource "octopusdeploy_oci_registry_feed" "example" { + feed_uri = "oci://test-registry.docker.io" + password = "test-password" + name = "Test oci Registry Feed (OK to Delete)" + username = "test-username" +} +``` + + +## Schema + +### Required + +- `feed_uri` (String) +- `name` (String) The name of this resource. + +### Optional + +- `password` (String, Sensitive) The password associated with this resource. +- `space_id` (String) The space ID associated with this OCI registry. +- `username` (String, Sensitive) The username associated with this resource. + +### Read-Only + +- `id` (String) The unique ID for this resource. + +## Import + +Import is supported using the following syntax: + +```shell +terraform import [options] octopusdeploy_oci_registry_feed. +``` diff --git a/examples/resources/octopusdeploy_oci_registry_feed/import.sh b/examples/resources/octopusdeploy_oci_registry_feed/import.sh new file mode 100644 index 000000000..82dd4eace --- /dev/null +++ b/examples/resources/octopusdeploy_oci_registry_feed/import.sh @@ -0,0 +1 @@ +terraform import [options] octopusdeploy_oci_registry_feed. \ No newline at end of file diff --git a/examples/resources/octopusdeploy_oci_registry_feed/resource.tf b/examples/resources/octopusdeploy_oci_registry_feed/resource.tf new file mode 100644 index 000000000..d5fa314ff --- /dev/null +++ b/examples/resources/octopusdeploy_oci_registry_feed/resource.tf @@ -0,0 +1,6 @@ +resource "octopusdeploy_oci_registry_feed" "example" { + feed_uri = "oci://test-registry.docker.io" + password = "test-password" + name = "Test oci Registry Feed (OK to Delete)" + username = "test-username" +}