diff --git a/CHANGELOG.md b/CHANGELOG.md index 27ca6ef..a6f7f11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ ## Changelog -* 1730bd5 feat: 자체 tf framework 리팩토링 (!6) +* b82c674 feat: Pubg Catalog 리소스 추가 diff --git a/docs/data-sources/cidr.md b/docs/data-sources/cidr.md index c430819..5176288 100644 --- a/docs/data-sources/cidr.md +++ b/docs/data-sources/cidr.md @@ -32,6 +32,8 @@ data "bluechip_cidr" "current" { ### Read-Only - `id` (String) The ID of this resource. +- `ipv4_cidrs` (List of String) +- `ipv6_cidrs` (List of String) - `spec` (List of Object) (see [below for nested schema](#nestedatt--spec)) diff --git a/docs/data-sources/cidrs.md b/docs/data-sources/cidrs.md index 0b025f5..36e5712 100644 --- a/docs/data-sources/cidrs.md +++ b/docs/data-sources/cidrs.md @@ -82,6 +82,8 @@ data "bluechip_cidrs" "seoul" { ### Read-Only - `id` (String) The ID of this resource. +- `ipv4_cidrs` (List of String) +- `ipv6_cidrs` (List of String) - `items` (List of Object) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedatt--items)) @@ -107,6 +109,8 @@ Optional: Read-Only: +- `ipv4_cidrs` (List of String) +- `ipv6_cidrs` (List of String) - `metadata` (List of Object) (see [below for nested schema](#nestedobjatt--items--metadata)) - `spec` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec)) diff --git a/docs/data-sources/image.md b/docs/data-sources/image.md index 8682f77..d5d1f38 100644 --- a/docs/data-sources/image.md +++ b/docs/data-sources/image.md @@ -70,6 +70,7 @@ Read-Only: - `app` (String) - `branch` (String) - `commit_hash` (String) +- `digest` (String) - `repository` (String) - `tag` (String) - `timestamp` (Number) diff --git a/docs/data-sources/images.md b/docs/data-sources/images.md index 3c8f492..933cfcd 100644 --- a/docs/data-sources/images.md +++ b/docs/data-sources/images.md @@ -88,6 +88,7 @@ Read-Only: - `app` (String) - `branch` (String) - `commit_hash` (String) +- `digest` (String) - `repository` (String) - `tag` (String) - `timestamp` (Number) diff --git a/docs/data-sources/pubgenvcatalog.md b/docs/data-sources/pubgenvcatalog.md new file mode 100644 index 0000000..771f7d5 --- /dev/null +++ b/docs/data-sources/pubgenvcatalog.md @@ -0,0 +1,62 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgenvcatalog Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgenvcatalog (Data Source) + + + + + + +## Schema + +### Optional + +- `metadata` (Block List) (see [below for nested schema](#nestedblock--metadata)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `spec` (List of Object) (see [below for nested schema](#nestedatt--spec)) + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `spec` + +Read-Only: + +- `catalog_namespace` (String) +- `platform` (String) +- `user_providers` (List of String) diff --git a/docs/data-sources/pubgenvcatalogs.md b/docs/data-sources/pubgenvcatalogs.md new file mode 100644 index 0000000..7383a01 --- /dev/null +++ b/docs/data-sources/pubgenvcatalogs.md @@ -0,0 +1,74 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgenvcatalogs Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgenvcatalogs (Data Source) + + + + + + +## Schema + +### Optional + +- `filter` (Block List) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedblock--filter)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `items` (List of Object) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedatt--items)) + + +### Nested Schema for `filter` + +Required: + +- `field` (String) Field to use for the query term. +- `operator` (String) Operator to use for the query term. One of ['equals', 'notEquals', 'fuzzy', 'wildcard', 'regex', 'matchPhrase', 'prefix']. +- `value` (String) Value to use for the query term. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `items` + +Read-Only: + +- `metadata` (List of Object) (see [below for nested schema](#nestedobjatt--items--metadata)) +- `spec` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec)) + + +### Nested Schema for `items.metadata` + +Read-Only: + +- `annotations` (Map of String) +- `creation_timestamp` (String) +- `labels` (Map of String) +- `name` (String) +- `resource_version` (String) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `catalog_namespace` (String) +- `platform` (String) +- `user_providers` (List of String) diff --git a/docs/data-sources/pubginfracatalog.md b/docs/data-sources/pubginfracatalog.md new file mode 100644 index 0000000..dbc164e --- /dev/null +++ b/docs/data-sources/pubginfracatalog.md @@ -0,0 +1,65 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubginfracatalog Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubginfracatalog (Data Source) + + + + + + +## Schema + +### Optional + +- `metadata` (Block List) (see [below for nested schema](#nestedblock--metadata)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `spec` (List of Object) (see [below for nested schema](#nestedatt--spec)) + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. +- `namespace` (String) Namespace is the namespace of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `spec` + +Read-Only: + +- `arn` (String) +- `name` (String) +- `owner` (String) +- `region` (String) +- `type` (String) diff --git a/docs/data-sources/pubginfracatalogs.md b/docs/data-sources/pubginfracatalogs.md new file mode 100644 index 0000000..f700731 --- /dev/null +++ b/docs/data-sources/pubginfracatalogs.md @@ -0,0 +1,81 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubginfracatalogs Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubginfracatalogs (Data Source) + + + + + + +## Schema + +### Required + +- `namespace` (String) Namespace is the namespace of the resource. + +### Optional + +- `filter` (Block List) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedblock--filter)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `items` (List of Object) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedatt--items)) + + +### Nested Schema for `filter` + +Required: + +- `field` (String) Field to use for the query term. +- `operator` (String) Operator to use for the query term. One of ['equals', 'notEquals', 'fuzzy', 'wildcard', 'regex', 'matchPhrase', 'prefix']. +- `value` (String) Value to use for the query term. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `items` + +Read-Only: + +- `metadata` (List of Object) (see [below for nested schema](#nestedobjatt--items--metadata)) +- `spec` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec)) + + +### Nested Schema for `items.metadata` + +Read-Only: + +- `annotations` (Map of String) +- `creation_timestamp` (String) +- `labels` (Map of String) +- `name` (String) +- `namespace` (String) +- `resource_version` (String) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `arn` (String) +- `name` (String) +- `owner` (String) +- `region` (String) +- `type` (String) diff --git a/docs/data-sources/pubgingresscatalog.md b/docs/data-sources/pubgingresscatalog.md new file mode 100644 index 0000000..55eae1e --- /dev/null +++ b/docs/data-sources/pubgingresscatalog.md @@ -0,0 +1,62 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgingresscatalog Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgingresscatalog (Data Source) + + + + + + +## Schema + +### Optional + +- `metadata` (Block List) (see [below for nested schema](#nestedblock--metadata)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `spec` (List of Object) (see [below for nested schema](#nestedatt--spec)) + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. +- `namespace` (String) Namespace is the namespace of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `spec` + +Read-Only: + +- `cdn` (String) +- `origin` (String) diff --git a/docs/data-sources/pubgingresscatalogs.md b/docs/data-sources/pubgingresscatalogs.md new file mode 100644 index 0000000..156ae95 --- /dev/null +++ b/docs/data-sources/pubgingresscatalogs.md @@ -0,0 +1,78 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgingresscatalogs Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgingresscatalogs (Data Source) + + + + + + +## Schema + +### Required + +- `namespace` (String) Namespace is the namespace of the resource. + +### Optional + +- `filter` (Block List) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedblock--filter)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `items` (List of Object) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedatt--items)) + + +### Nested Schema for `filter` + +Required: + +- `field` (String) Field to use for the query term. +- `operator` (String) Operator to use for the query term. One of ['equals', 'notEquals', 'fuzzy', 'wildcard', 'regex', 'matchPhrase', 'prefix']. +- `value` (String) Value to use for the query term. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `items` + +Read-Only: + +- `metadata` (List of Object) (see [below for nested schema](#nestedobjatt--items--metadata)) +- `spec` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec)) + + +### Nested Schema for `items.metadata` + +Read-Only: + +- `annotations` (Map of String) +- `creation_timestamp` (String) +- `labels` (Map of String) +- `name` (String) +- `namespace` (String) +- `resource_version` (String) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `cdn` (String) +- `origin` (String) diff --git a/docs/data-sources/pubgservicecatalog.md b/docs/data-sources/pubgservicecatalog.md new file mode 100644 index 0000000..6c5c0b9 --- /dev/null +++ b/docs/data-sources/pubgservicecatalog.md @@ -0,0 +1,74 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgservicecatalog Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgservicecatalog (Data Source) + + + + + + +## Schema + +### Optional + +- `metadata` (Block List) (see [below for nested schema](#nestedblock--metadata)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `spec` (List of Object) (see [below for nested schema](#nestedatt--spec)) + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. +- `namespace` (String) Namespace is the namespace of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `spec` + +Read-Only: + +- `deploy_info` (List of Object) (see [below for nested schema](#nestedobjatt--spec--deploy_info)) +- `type` (String) +- `workload_type` (String) + + +### Nested Schema for `spec.deploy_info` + +Read-Only: + +- `argocd_app_name` (String) +- `argocd_app_namespace` (String) +- `deployment_name` (String) +- `namespace` (String) +- `service_name` (String) diff --git a/docs/data-sources/pubgservicecatalogs.md b/docs/data-sources/pubgservicecatalogs.md new file mode 100644 index 0000000..976d388 --- /dev/null +++ b/docs/data-sources/pubgservicecatalogs.md @@ -0,0 +1,90 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgservicecatalogs Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgservicecatalogs (Data Source) + + + + + + +## Schema + +### Required + +- `namespace` (String) Namespace is the namespace of the resource. + +### Optional + +- `filter` (Block List) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedblock--filter)) +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. +- `items` (List of Object) Filter is a list of query terms to filter the results by. (see [below for nested schema](#nestedatt--items)) + + +### Nested Schema for `filter` + +Required: + +- `field` (String) Field to use for the query term. +- `operator` (String) Operator to use for the query term. One of ['equals', 'notEquals', 'fuzzy', 'wildcard', 'regex', 'matchPhrase', 'prefix']. +- `value` (String) Value to use for the query term. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) + + + +### Nested Schema for `items` + +Read-Only: + +- `metadata` (List of Object) (see [below for nested schema](#nestedobjatt--items--metadata)) +- `spec` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec)) + + +### Nested Schema for `items.metadata` + +Read-Only: + +- `annotations` (Map of String) +- `creation_timestamp` (String) +- `labels` (Map of String) +- `name` (String) +- `namespace` (String) +- `resource_version` (String) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `deploy_info` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--deploy_info)) +- `type` (String) +- `workload_type` (String) + + +### Nested Schema for `items.spec.deploy_info` + +Read-Only: + +- `argocd_app_name` (String) +- `argocd_app_namespace` (String) +- `deployment_name` (String) +- `namespace` (String) +- `service_name` (String) diff --git a/docs/resources/cidr.md b/docs/resources/cidr.md index 9b47443..757d81a 100644 --- a/docs/resources/cidr.md +++ b/docs/resources/cidr.md @@ -40,6 +40,8 @@ resource "bluechip_cidr" "current" { ### Read-Only - `id` (String) The ID of this resource. +- `ipv4_cidrs` (List of String) +- `ipv6_cidrs` (List of String) ### Nested Schema for `metadata` diff --git a/docs/resources/image.md b/docs/resources/image.md index beda60f..03ecf9d 100644 --- a/docs/resources/image.md +++ b/docs/resources/image.md @@ -73,6 +73,7 @@ Required: - `app` (String) - `branch` (String) - `commit_hash` (String) +- `digest` (String) - `repository` (String) - `tag` (String) - `timestamp` (Number) diff --git a/docs/resources/pubgenvcatalog.md b/docs/resources/pubgenvcatalog.md new file mode 100644 index 0000000..dd2549e --- /dev/null +++ b/docs/resources/pubgenvcatalog.md @@ -0,0 +1,80 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgenvcatalog Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgenvcatalog (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_pubgenvcatalog" "example" { + metadata { + name = "my-test" + } + spec { + platform = "pc" + user_providers = ["steam", "epic", "kakao", "psn", "xbox"] + } +} +``` + + +## Schema + +### Required + +- `metadata` (Block List, Min: 1) (see [below for nested schema](#nestedblock--metadata)) +- `spec` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec)) + +### Optional + +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `platform` (String) Platform of the catalog. One of pc, console, esports +- `user_providers` (List of String) List of user providers. One of steam, epic, kakao, psn, xbox + +Optional: + +- `catalog_namespace` (String) Namespace of the catalog. This value should be projected from this resource's metadata.name + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/pubginfracatalog.md b/docs/resources/pubginfracatalog.md new file mode 100644 index 0000000..d4e7303 --- /dev/null +++ b/docs/resources/pubginfracatalog.md @@ -0,0 +1,96 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubginfracatalog Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubginfracatalog (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_pubgenvcatalog" "current" { + metadata { + name = "my-test" + } + spec { + platform = "pc" + user_providers = ["steam", "epic", "kakao", "psn", "xbox"] + } +} + +resource "bluechip_pubginfracatalog" "current" { + metadata { + name = "my-test" + namespace = bluechip_pubgenvcatalog.current.metadata.0.name + } + spec { + type = "s3" + name = "test-bucket" + region = "ap-northeast-2" + arn = "arn:aws:s3:::test-bucket" + owner = "test-owner" + } + + depends_on = [bluechip_pubgenvcatalog.current] +} +``` + + +## Schema + +### Required + +- `metadata` (Block List, Min: 1) (see [below for nested schema](#nestedblock--metadata)) +- `spec` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec)) + +### Optional + +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. +- `namespace` (String) Namespace is the namespace of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `arn` (String) +- `name` (String) +- `owner` (String) +- `region` (String) +- `type` (String) The type of the resource. Valid values are: s3, dynamodb, sqs, sns, firehose, kinesis + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/pubgingresscatalog.md b/docs/resources/pubgingresscatalog.md new file mode 100644 index 0000000..338a418 --- /dev/null +++ b/docs/resources/pubgingresscatalog.md @@ -0,0 +1,93 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgingresscatalog Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgingresscatalog (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_pubgenvcatalog" "current" { + metadata { + name = "my-testbed" + } + spec { + platform = "pc" + user_providers = ["steam", "epic", "kakao", "psn", "xbox"] + } +} + +resource "bluechip_pubgingresscatalog" "current" { + metadata { + name = "my-test" + namespace = bluechip_pubgenvcatalog.current.metadata.0.name + } + spec { + cdn = "cloudfront" + origin = "test-origin.example.com" + } + + depends_on = [bluechip_pubgenvcatalog.current] +} +``` + + +## Schema + +### Required + +- `metadata` (Block List, Min: 1) (see [below for nested schema](#nestedblock--metadata)) +- `spec` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec)) + +### Optional + +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. +- `namespace` (String) Namespace is the namespace of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `origin` (String) + +Optional: + +- `cdn` (String) + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/pubgservicecatalog.md b/docs/resources/pubgservicecatalog.md new file mode 100644 index 0000000..949a7d5 --- /dev/null +++ b/docs/resources/pubgservicecatalog.md @@ -0,0 +1,112 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_pubgservicecatalog Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_pubgservicecatalog (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_pubgenvcatalog" "current" { + metadata { + name = "my-testbed" + } + spec { + platform = "pc" + user_providers = ["steam", "epic", "kakao", "psn", "xbox"] + } +} + +resource "bluechip_pubgservicecatalog" "current" { + metadata { + name = "my-test" + namespace = bluechip_pubgenvcatalog.current.metadata.0.name + } + spec { + type = "broserv" + workload_type = "stateless" + deploy_info { + namespace = "app-ns" + deployment_name = "web-app" + service_name = "web-service" + argocd_app_name = "web-app" + argocd_app_namespace = "argocd" + } + } + depends_on = [bluechip_pubgenvcatalog.current] +} +``` + + +## Schema + +### Required + +- `metadata` (Block List, Min: 1) (see [below for nested schema](#nestedblock--metadata)) +- `spec` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec)) + +### Optional + +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `id` (String) The ID of this resource. + + +### Nested Schema for `metadata` + +Required: + +- `name` (String) Name is the name of the resource. +- `namespace` (String) Namespace is the namespace of the resource. + +Optional: + +- `annotations` (Map of String) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. +- `labels` (Map of String) Labels are key value pairs that may be used to scope and select individual resources. They are not queryable and should be preserved when modifying objects. + +Read-Only: + +- `creation_timestamp` (String) CreationTimestamp is a timestamp representing the server time when this object was created. +- `resource_version` (String) ResourceVersion is an opaque value that changes on every update to a resource. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `deploy_info` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--deploy_info)) +- `type` (String) The type of the resource. Valid values are: broserv, sprout, subprojecct +- `workload_type` (String) + + +### Nested Schema for `spec.deploy_info` + +Required: + +- `namespace` (String) + +Optional: + +- `argocd_app_name` (String) +- `argocd_app_namespace` (String) +- `deployment_name` (String) +- `service_name` (String) + + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/user.md b/docs/resources/user.md index 56a2673..1bed03f 100644 --- a/docs/resources/user.md +++ b/docs/resources/user.md @@ -65,7 +65,7 @@ Read-Only: Required: - `attributes` (Map of String) -- `password` (String) +- `password` (String, Sensitive) Optional: