From c567487e087cf101d6d0bf64ce908b07cdaf5809 Mon Sep 17 00:00:00 2001 From: "denys.kostynchuk" Date: Fri, 25 Oct 2024 11:13:18 +1300 Subject: [PATCH] Add docs for Google Container Registry --- docs/resources/google_container_registry.md | 50 +++++++++++++++++++ docs/resources/s3_feed.md | 4 +- .../import.sh | 1 + .../resource.tf | 6 +++ 4 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 docs/resources/google_container_registry.md create mode 100644 examples/resources/octopusdeploy_google_container_registry/import.sh create mode 100644 examples/resources/octopusdeploy_google_container_registry/resource.tf diff --git a/docs/resources/google_container_registry.md b/docs/resources/google_container_registry.md new file mode 100644 index 00000000..bb9d9669 --- /dev/null +++ b/docs/resources/google_container_registry.md @@ -0,0 +1,50 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "octopusdeploy_google_container_registry Resource - terraform-provider-octopusdeploy" +subcategory: "" +description: |- + This resource manages a Google Container Registry feed in Octopus Deploy (alias for Docker Container Registry feed) +--- + +# octopusdeploy_google_container_registry (Resource) + +This resource manages a Google Container Registry feed in Octopus Deploy (alias for Docker Container Registry feed) + +## Example Usage + +```terraform +resource "octopusdeploy_google_container_registry" "example" { + name = "Test Google Container Registry (OK to Delete)" + feed_uri = "https://google.docker.test" + registry_path = "testing/test-image" + password = "google authentication key file contents (json)" +} +``` + + +## Schema + +### Required + +- `feed_uri` (String) +- `name` (String) The name of this resource. + +### Optional + +- `api_version` (String) +- `password` (String, Sensitive) The password associated with this resource. +- `registry_path` (String) +- `space_id` (String) The space ID associated with this Google container registry feed. +- `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_google_container_registry. +``` diff --git a/docs/resources/s3_feed.md b/docs/resources/s3_feed.md index 1237755e..386182da 100644 --- a/docs/resources/s3_feed.md +++ b/docs/resources/s3_feed.md @@ -3,12 +3,12 @@ page_title: "octopusdeploy_s3_feed Resource - terraform-provider-octopusdeploy" subcategory: "" description: |- - This resource manages a OCI Registry feed in Octopus Deploy. + This resource manages a Amazon S3 Bucket feed in Octopus Deploy. --- # octopusdeploy_s3_feed (Resource) -This resource manages a OCI Registry feed in Octopus Deploy. +This resource manages a Amazon S3 Bucket feed in Octopus Deploy. ## Example Usage diff --git a/examples/resources/octopusdeploy_google_container_registry/import.sh b/examples/resources/octopusdeploy_google_container_registry/import.sh new file mode 100644 index 00000000..b9de531d --- /dev/null +++ b/examples/resources/octopusdeploy_google_container_registry/import.sh @@ -0,0 +1 @@ +terraform import [options] octopusdeploy_google_container_registry. \ No newline at end of file diff --git a/examples/resources/octopusdeploy_google_container_registry/resource.tf b/examples/resources/octopusdeploy_google_container_registry/resource.tf new file mode 100644 index 00000000..ffb3d4b8 --- /dev/null +++ b/examples/resources/octopusdeploy_google_container_registry/resource.tf @@ -0,0 +1,6 @@ +resource "octopusdeploy_google_container_registry" "example" { + name = "Test Google Container Registry (OK to Delete)" + feed_uri = "https://google.docker.test" + registry_path = "testing/test-image" + password = "google authentication key file contents (json)" +}