diff --git a/CHANGELOG.md b/CHANGELOG.md index 1656789..c7747be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ ## Changelog -* 42a5655 fix +* 2d360f5 fix: publish script diff --git a/docs/data-sources/account.md b/docs/data-sources/account.md new file mode 100644 index 0000000..b1636b1 --- /dev/null +++ b/docs/data-sources/account.md @@ -0,0 +1,74 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_account Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_account (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_account" "current" { + metadata { + name = "test2" + namespace = "default" + } +} +``` + + +## 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. +- `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: + +- `account_id` (String) +- `alias` (String) +- `description` (String) +- `display_name` (String) +- `regions` (Set of String) +- `vendor` (String) diff --git a/docs/data-sources/accounts.md b/docs/data-sources/accounts.md new file mode 100644 index 0000000..c54f284 --- /dev/null +++ b/docs/data-sources/accounts.md @@ -0,0 +1,87 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_accounts Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_accounts (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_accounts" "current" { + namespace = "pubg" +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `account_id` (String) +- `alias` (String) +- `description` (String) +- `display_name` (String) +- `regions` (Set of String) +- `vendor` (String) diff --git a/docs/data-sources/cidr.md b/docs/data-sources/cidr.md new file mode 100644 index 0000000..86ce9ac --- /dev/null +++ b/docs/data-sources/cidr.md @@ -0,0 +1,70 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_cidr Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_cidr (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_cidr" "current" { + metadata { + name = "my-test" + namespace = "default" + } +} +``` + + +## 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. +- `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: + +- `ipv4_cidrs` (Set of String) +- `ipv6_cidrs` (Set of String) diff --git a/docs/data-sources/cidrs.md b/docs/data-sources/cidrs.md new file mode 100644 index 0000000..c121404 --- /dev/null +++ b/docs/data-sources/cidrs.md @@ -0,0 +1,132 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_cidrs Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_cidrs (Data Source) + + + +## Example Usage + +```terraform +resource "bluechip_cidr" "c1" { + metadata { + name = "cidr1" + namespace = "default" + labels = { + "foo" = "bar" + } + annotations = { + "office" = "true" + "bluechip.example.com/location" = "seoul" + } + } + spec { + ipv4_cidrs = ["1.1.1.1/32"] + } +} + +resource "bluechip_cidr" "c2" { + metadata { + name = "cidr2" + namespace = "default" + labels = { + "foo" = "bar" + } + annotations = { + "office" = "true" + "bluechip.example.com/location" = "tokyo" + } + } + spec { + ipv4_cidrs = ["1.1.1.1/32"] + } +} + +data "bluechip_cidrs" "office" { + namespace = "default" + filter { + operator = "equals" + field = "metadata.annotations.office" + value = "true" + } +} + +data "bluechip_cidrs" "seoul" { + namespace = "default" + + filter { + operator = "equals" + field = "metadata.annotations.bluechip.example.com/location" + value = "true" + } +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `ipv4_cidrs` (Set of String) +- `ipv6_cidrs` (Set of String) diff --git a/docs/data-sources/cluster.md b/docs/data-sources/cluster.md new file mode 100644 index 0000000..7b7bcf7 --- /dev/null +++ b/docs/data-sources/cluster.md @@ -0,0 +1,105 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_cluster Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_cluster (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_cluster" "current" { + metadata { + name = "test" + namespace = "default" + } +} +``` + + +## 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. +- `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: + +- `environment` (String) +- `kubernetes` (List of Object) (see [below for nested schema](#nestedobjatt--spec--kubernetes)) +- `organization_unit` (String) +- `platform` (String) +- `project` (String) +- `pubg` (List of Object) (see [below for nested schema](#nestedobjatt--spec--pubg)) +- `vendor` (List of Object) (see [below for nested schema](#nestedobjatt--spec--vendor)) + + +### Nested Schema for `spec.kubernetes` + +Read-Only: + +- `ca_cert` (String) +- `endpoint` (String) +- `sa_issuer` (String) +- `version` (String) + + + +### Nested Schema for `spec.pubg` + +Read-Only: + +- `infra` (String) +- `site` (String) + + + +### Nested Schema for `spec.vendor` + +Read-Only: + +- `account_id` (String) +- `engine` (String) +- `name` (String) +- `region` (String) diff --git a/docs/data-sources/clusterrolebinding.md b/docs/data-sources/clusterrolebinding.md new file mode 100644 index 0000000..d544229 --- /dev/null +++ b/docs/data-sources/clusterrolebinding.md @@ -0,0 +1,84 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_clusterrolebinding Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_clusterrolebinding (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_clusterrolebinding" "current" { + metadata { + name = "my-test" + } +} +``` + + +## 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. +- `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: + +- `role_ref` (List of Object) (see [below for nested schema](#nestedobjatt--spec--role_ref)) +- `subject_ref` (List of Object) (see [below for nested schema](#nestedobjatt--spec--subject_ref)) + + +### Nested Schema for `spec.role_ref` + +Read-Only: + +- `name` (String) + + + +### Nested Schema for `spec.subject_ref` + +Read-Only: + +- `kind` (String) +- `name` (String) diff --git a/docs/data-sources/clusterrolebindings.md b/docs/data-sources/clusterrolebindings.md new file mode 100644 index 0000000..48627e4 --- /dev/null +++ b/docs/data-sources/clusterrolebindings.md @@ -0,0 +1,93 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_clusterrolebindings Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_clusterrolebindings (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_clusterrolebindings" "current" { +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `role_ref` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--role_ref)) +- `subject_ref` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--subject_ref)) + + +### Nested Schema for `items.spec.role_ref` + +Read-Only: + +- `name` (String) + + + +### Nested Schema for `items.spec.subject_ref` + +Read-Only: + +- `kind` (String) +- `name` (String) diff --git a/docs/data-sources/clusters.md b/docs/data-sources/clusters.md new file mode 100644 index 0000000..029d80f --- /dev/null +++ b/docs/data-sources/clusters.md @@ -0,0 +1,118 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_clusters Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_clusters (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_clusters" "current" { + namespace = "pubg" +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `environment` (String) +- `kubernetes` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--kubernetes)) +- `organization_unit` (String) +- `platform` (String) +- `project` (String) +- `pubg` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--pubg)) +- `vendor` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--vendor)) + + +### Nested Schema for `items.spec.kubernetes` + +Read-Only: + +- `ca_cert` (String) +- `endpoint` (String) +- `sa_issuer` (String) +- `version` (String) + + + +### Nested Schema for `items.spec.pubg` + +Read-Only: + +- `infra` (String) +- `site` (String) + + + +### Nested Schema for `items.spec.vendor` + +Read-Only: + +- `account_id` (String) +- `engine` (String) +- `name` (String) +- `region` (String) diff --git a/docs/data-sources/image.md b/docs/data-sources/image.md new file mode 100644 index 0000000..e132209 --- /dev/null +++ b/docs/data-sources/image.md @@ -0,0 +1,74 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_image Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_image (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_image" "current" { + metadata { + name = "my-test" + namespace = "default" + } +} +``` + + +## 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. +- `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: + +- `app` (String) +- `branch` (String) +- `commit_hash` (String) +- `repository` (String) +- `tag` (String) +- `timestamp` (Number) diff --git a/docs/data-sources/images.md b/docs/data-sources/images.md new file mode 100644 index 0000000..af5a4c1 --- /dev/null +++ b/docs/data-sources/images.md @@ -0,0 +1,92 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_images Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_images (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_images" "current" { + filter { + operator = "equals" + field = "spec.commitHash" + value = "6874ece755439b5b3473b5b910fb4938751d6689" + } + namespace = "pubg" +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `app` (String) +- `branch` (String) +- `commit_hash` (String) +- `repository` (String) +- `tag` (String) +- `timestamp` (Number) diff --git a/docs/data-sources/namespace.md b/docs/data-sources/namespace.md new file mode 100644 index 0000000..7fcf171 --- /dev/null +++ b/docs/data-sources/namespace.md @@ -0,0 +1,58 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_namespace Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_namespace (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_namespace" "current" { + metadata { + name = "default" + } +} +``` + + +## 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. + + +### 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/data-sources/namespaces.md b/docs/data-sources/namespaces.md new file mode 100644 index 0000000..690d156 --- /dev/null +++ b/docs/data-sources/namespaces.md @@ -0,0 +1,67 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_namespaces Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_namespaces (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_namespaces" "current" { +} +``` + + +## 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)) + + +### Nested Schema for `items.metadata` + +Read-Only: + +- `annotations` (Map of String) +- `creation_timestamp` (String) +- `labels` (Map of String) +- `name` (String) +- `update_timestamp` (String) diff --git a/docs/data-sources/oidcauth.md b/docs/data-sources/oidcauth.md new file mode 100644 index 0000000..1a7a684 --- /dev/null +++ b/docs/data-sources/oidcauth.md @@ -0,0 +1,84 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_oidcauth Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_oidcauth (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_oidcauth" "current" { + metadata { + name = "my-test" + } + depends_on = [bluechip_oidcauth.current] +} +``` + + +## 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. +- `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: + +- `attribute_mapping` (List of Object) (see [below for nested schema](#nestedobjatt--spec--attribute_mapping)) +- `client_id` (String) +- `groups_claim` (String) +- `groups_prefix` (String) +- `issuer` (String) +- `required_claims` (Set of String) +- `username_claim` (String) +- `username_prefix` (String) + + +### Nested Schema for `spec.attribute_mapping` + +Read-Only: + +- `from` (String) +- `from_path_resolver` (String) +- `to` (String) diff --git a/docs/data-sources/oidcauths.md b/docs/data-sources/oidcauths.md new file mode 100644 index 0000000..cb18752 --- /dev/null +++ b/docs/data-sources/oidcauths.md @@ -0,0 +1,92 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_oidcauths Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_oidcauths (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_oidcauths" "current" { +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `attribute_mapping` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--attribute_mapping)) +- `client_id` (String) +- `groups_claim` (String) +- `groups_prefix` (String) +- `issuer` (String) +- `required_claims` (Set of String) +- `username_claim` (String) +- `username_prefix` (String) + + +### Nested Schema for `items.spec.attribute_mapping` + +Read-Only: + +- `from` (String) +- `from_path_resolver` (String) +- `to` (String) diff --git a/docs/data-sources/role.md b/docs/data-sources/role.md new file mode 100644 index 0000000..d99c5fb --- /dev/null +++ b/docs/data-sources/role.md @@ -0,0 +1,84 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_role Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_role (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_role" "current" { + metadata { + name = "my-test" + } +} +``` + + +## 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. +- `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: + +- `statements` (List of Object) (see [below for nested schema](#nestedobjatt--spec--statements)) + + +### Nested Schema for `spec.statements` + +Read-Only: + +- `actions` (Set of String) +- `paths` (Set of String) +- `resources` (List of Object) (see [below for nested schema](#nestedobjatt--spec--statements--resources)) + + +### Nested Schema for `spec.statements.resources` + +Read-Only: + +- `api_group` (String) +- `kind` (String) diff --git a/docs/data-sources/rolebinding.md b/docs/data-sources/rolebinding.md new file mode 100644 index 0000000..8ca87f6 --- /dev/null +++ b/docs/data-sources/rolebinding.md @@ -0,0 +1,86 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_rolebinding Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_rolebinding (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_rolebinding" "current" { + metadata { + name = "my-test" + namespace = "default" + } +} +``` + + +## 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. +- `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: + +- `role_ref` (List of Object) (see [below for nested schema](#nestedobjatt--spec--role_ref)) +- `subject_ref` (List of Object) (see [below for nested schema](#nestedobjatt--spec--subject_ref)) + + +### Nested Schema for `spec.role_ref` + +Read-Only: + +- `name` (String) + + + +### Nested Schema for `spec.subject_ref` + +Read-Only: + +- `kind` (String) +- `name` (String) diff --git a/docs/data-sources/rolebindings.md b/docs/data-sources/rolebindings.md new file mode 100644 index 0000000..370d72f --- /dev/null +++ b/docs/data-sources/rolebindings.md @@ -0,0 +1,104 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_rolebindings Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_rolebindings (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_rolebindings" "current" { + filter { + operator = "equals" + key = "metadata.name" + value = "" + } + namespace = "pubg" +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `role_ref` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--role_ref)) +- `subject_ref` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--subject_ref)) + + +### Nested Schema for `items.spec.role_ref` + +Read-Only: + +- `name` (String) + + + +### Nested Schema for `items.spec.subject_ref` + +Read-Only: + +- `kind` (String) +- `name` (String) diff --git a/docs/data-sources/roles.md b/docs/data-sources/roles.md new file mode 100644 index 0000000..c770f77 --- /dev/null +++ b/docs/data-sources/roles.md @@ -0,0 +1,93 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_roles Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_roles (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_roles" "current" { +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `statements` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--statements)) + + +### Nested Schema for `items.spec.statements` + +Read-Only: + +- `actions` (Set of String) +- `paths` (Set of String) +- `resources` (List of Object) (see [below for nested schema](#nestedobjatt--items--spec--statements--resources)) + + +### Nested Schema for `items.spec.statements.resources` + +Read-Only: + +- `api_group` (String) +- `kind` (String) diff --git a/docs/data-sources/user.md b/docs/data-sources/user.md new file mode 100644 index 0000000..52ed1e5 --- /dev/null +++ b/docs/data-sources/user.md @@ -0,0 +1,70 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_user Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_user (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_user" "current" { + metadata { + name = "my-test" + } + depends_on = [bluechip_user.current] +} +``` + + +## 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. +- `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: + +- `attributes` (Map of String) +- `groups` (Set of String) +- `password` (String) diff --git a/docs/data-sources/users.md b/docs/data-sources/users.md new file mode 100644 index 0000000..cece8eb --- /dev/null +++ b/docs/data-sources/users.md @@ -0,0 +1,78 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_users Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_users (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_users" "current" { +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `attributes` (Map of String) +- `groups` (Set of String) +- `password` (String) diff --git a/docs/data-sources/vendor.md b/docs/data-sources/vendor.md new file mode 100644 index 0000000..c86cb71 --- /dev/null +++ b/docs/data-sources/vendor.md @@ -0,0 +1,70 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_vendor Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_vendor (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_vendor" "current" { + metadata { + name = "my-test" + } +} +``` + + +## 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. +- `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: + +- `code_name` (String) +- `display_name` (String) +- `regions` (Set of String) +- `short_name` (String) diff --git a/docs/data-sources/vendors.md b/docs/data-sources/vendors.md new file mode 100644 index 0000000..a4d747c --- /dev/null +++ b/docs/data-sources/vendors.md @@ -0,0 +1,79 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_vendors Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_vendors (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_vendors" "current" { +} +``` + + +## 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) +- `update_timestamp` (String) + + + +### Nested Schema for `items.spec` + +Read-Only: + +- `code_name` (String) +- `display_name` (String) +- `regions` (Set of String) +- `short_name` (String) diff --git a/docs/data-sources/whoami.md b/docs/data-sources/whoami.md new file mode 100644 index 0000000..88a010c --- /dev/null +++ b/docs/data-sources/whoami.md @@ -0,0 +1,39 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_whoami Data Source - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_whoami (Data Source) + + + +## Example Usage + +```terraform +data "bluechip_whoami" "current" { +} +``` + + +## Schema + +### Optional + +- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) + +### Read-Only + +- `attributes` (Map of String) +- `groups` (Set of String) +- `id` (String) The ID of this resource. +- `name` (String) + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..05509c6 --- /dev/null +++ b/docs/index.md @@ -0,0 +1,120 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip Provider" +subcategory: "" +description: |- + +--- + +# bluechip Provider + + + +## Example Usage + +```terraform +provider "bluechip" { + address = "app.bluechip.com" + auth_flow { + basic { + username = "myuser" + password = "mypassword" + } + } +} + +provider "bluechip" { + alias = "token" + address = "app.bluechip.com" + auth_flow { + token { + token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + } +} + +provider "bluechip" { + alias = "aws" + address = "app.bluechip.com" + auth_flow { + aws { + cluster_name = "bluechip-prod" + region = "us-east-1" + } + } +} + +provider "bluechip" { + alias = "oidc" + address = "app.bluechip.com" + auth_flow { + oidc { + validator_name = "kubernetes-centre" + token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + } + } +} +``` + + +## Schema + +### Required + +- `auth_flow` (Block List, Min: 1) (see [below for nested schema](#nestedblock--auth_flow)) + +### Optional + +- `address` (String) + + +### Nested Schema for `auth_flow` + +Optional: + +- `aws` (Block List, Max: 1) Only one of token, basic, aws, oidc can be specified. (see [below for nested schema](#nestedblock--auth_flow--aws)) +- `basic` (Block List, Max: 1) Only one of token, basic, aws, oidc can be specified. (see [below for nested schema](#nestedblock--auth_flow--basic)) +- `oidc` (Block List, Max: 1) Only one of token, basic, aws, oidc can be specified. (see [below for nested schema](#nestedblock--auth_flow--oidc)) +- `token` (Block List, Max: 1) Only one of token, basic, aws, oidc can be specified. (see [below for nested schema](#nestedblock--auth_flow--token)) + + +### Nested Schema for `auth_flow.aws` + +Optional: + +- `access_key` (String) +- `cluster_name` (String) +- `profile` (String) +- `region` (String) +- `secret_access_key` (String) +- `session_token` (String) + + + +### Nested Schema for `auth_flow.basic` + +Optional: + +- `password` (String) +- `username` (String) + + + +### Nested Schema for `auth_flow.oidc` + +Required: + +- `validator_name` (String) + +Optional: + +- `token` (String) +- `token_env` (String) + + + +### Nested Schema for `auth_flow.token` + +Optional: + +- `token` (String) diff --git a/docs/resources/account.md b/docs/resources/account.md new file mode 100644 index 0000000..0a3faae --- /dev/null +++ b/docs/resources/account.md @@ -0,0 +1,85 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_account Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_account (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_account" "current" { + metadata { + name = "test2" + namespace = "default" + } + spec { + account_id = "12398213" + display_name = "test" + description = "test" + alias = "test" + vendor = "AWS" + regions = ["test"] + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `account_id` (String) +- `alias` (String) +- `description` (String) +- `display_name` (String) +- `regions` (Set of String) +- `vendor` (String) + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/cidr.md b/docs/resources/cidr.md new file mode 100644 index 0000000..5342451 --- /dev/null +++ b/docs/resources/cidr.md @@ -0,0 +1,77 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_cidr Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_cidr (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_cidr" "current" { + metadata { + name = "my-test" + namespace = "default" + } + spec { + ipv4_cidrs = ["1.1.1.1/32"] + ipv6_cidrs = ["::1/32"] + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Optional: + +- `ipv4_cidrs` (Set of String) +- `ipv6_cidrs` (Set of String) + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/cluster.md b/docs/resources/cluster.md new file mode 100644 index 0000000..b123cd7 --- /dev/null +++ b/docs/resources/cluster.md @@ -0,0 +1,131 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_cluster Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_cluster (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_cluster" "current" { + metadata { + name = "test" + namespace = "default" + } + spec { + project = "pubg" + environment = "dev" + organization_unit = "devops" + platform = "pc" + pubg { + infra = "common" + site = "devops" + } + vendor { + name = "AWS" + account_id = "12398213" + engine = "EKS" + region = "ap-northeast-2" + } + kubernetes { + endpoint = "https://api.devops.dev.pubg.com" + ca_cert = "-----BEGIN CERTIFI" + sa_issuer = "https://login.microsoftonline.com/1a27bdbf-e6cc-4e33-85d2-e1c81bad930a/v2.0" + version = "1.28" + } + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `environment` (String) +- `kubernetes` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--kubernetes)) +- `organization_unit` (String) +- `platform` (String) +- `project` (String) +- `pubg` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--pubg)) +- `vendor` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--vendor)) + + +### Nested Schema for `spec.kubernetes` + +Required: + +- `ca_cert` (String) +- `endpoint` (String) +- `sa_issuer` (String) +- `version` (String) + + + +### Nested Schema for `spec.pubg` + +Required: + +- `infra` (String) +- `site` (String) + + + +### Nested Schema for `spec.vendor` + +Required: + +- `account_id` (String) +- `engine` (String) +- `name` (String) +- `region` (String) + + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/clusterrolebinding.md b/docs/resources/clusterrolebinding.md new file mode 100644 index 0000000..c63d5b1 --- /dev/null +++ b/docs/resources/clusterrolebinding.md @@ -0,0 +1,95 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_clusterrolebinding Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_clusterrolebinding (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_clusterrolebinding" "current" { + metadata { + name = "my-test" + } + spec { + subject_ref { + kind = "User" + name = "my-test" + } + policy_ref = "admin" + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `role_ref` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--role_ref)) +- `subject_ref` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--subject_ref)) + + +### Nested Schema for `spec.role_ref` + +Required: + +- `name` (String) Name of the referent. + + + +### Nested Schema for `spec.subject_ref` + +Required: + +- `kind` (String) Kind of the referent. Valid kinds are 'User', 'Group'. +- `name` (String) Name of the referent. + + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/image.md b/docs/resources/image.md new file mode 100644 index 0000000..ca838d2 --- /dev/null +++ b/docs/resources/image.md @@ -0,0 +1,85 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_image Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_image (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_image" "current" { + metadata { + name = "my-test" + namespace = "default" + } + spec { + app = "my-test" + timestamp = 1398329823 + commit_hash = "1234567890" + repository = "test" + tag = "test" + branch = "test" + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `app` (String) +- `branch` (String) +- `commit_hash` (String) +- `repository` (String) +- `tag` (String) +- `timestamp` (Number) + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/namespace.md b/docs/resources/namespace.md new file mode 100644 index 0000000..d837fd2 --- /dev/null +++ b/docs/resources/namespace.md @@ -0,0 +1,61 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_namespace Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_namespace (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_namespace" "current" { + metadata { + name = "my-test" + } +} +``` + + +## Schema + +### Required + +- `metadata` (Block List, Min: 1) (see [below for nested schema](#nestedblock--metadata)) + +### 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/oidcauth.md b/docs/resources/oidcauth.md new file mode 100644 index 0000000..a07ee4f --- /dev/null +++ b/docs/resources/oidcauth.md @@ -0,0 +1,122 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_oidcauth Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_oidcauth (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_oidcauth" "current" { + metadata { + name = "my-test" + } + spec { + username_claim = "sub" + username_prefix = "string" + issuer = "https://accounts.google.com/" + client_id = "string" + required_claims = ["string"] + groups_claim = "string" + groups_prefix = "string" + attribute_mapping { + from = "namespace_path" + from_path_resolver = "bare" + to = "namespace_path" + } + attribute_mapping { + from = "project_path" + from_path_resolver = "bare" + to = "project_path" + } + attribute_mapping { + from = "pipeline_source" + from_path_resolver = "bare" + to = "pipeline_source" + } + attribute_mapping { + from = "ref_path" + from_path_resolver = "bare" + to = "ref_path" + } + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `client_id` (String) +- `issuer` (String) +- `username_claim` (String) + +Optional: + +- `attribute_mapping` (Block List) (see [below for nested schema](#nestedblock--spec--attribute_mapping)) +- `groups_claim` (String) +- `groups_prefix` (String) +- `required_claims` (Set of String) +- `username_prefix` (String) + + +### Nested Schema for `spec.attribute_mapping` + +Required: + +- `from` (String) +- `to` (String) + +Optional: + +- `from_path_resolver` (String) + + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/role.md b/docs/resources/role.md new file mode 100644 index 0000000..e0d7ea0 --- /dev/null +++ b/docs/resources/role.md @@ -0,0 +1,98 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_role Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_role (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_role" "current" { + metadata { + name = "my-test" + } + spec { + statements { + actions = ["read"] + paths = ["/**"] + } + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `statements` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--statements)) + + +### Nested Schema for `spec.statements` + +Required: + +- `actions` (Set of String) Actions is a list of actions this role binding grants access to. + +Optional: + +- `paths` (Set of String) Paths is a list of paths this role binding grants access to. +- `resources` (Block List) Resources is a list of resources this role binding grants access to. (see [below for nested schema](#nestedblock--spec--statements--resources)) + + +### Nested Schema for `spec.statements.resources` + +Required: + +- `api_group` (String) APIGroup is the group for the resource being referenced. +- `kind` (String) Kind is the type of resource being referenced. + + + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/rolebinding.md b/docs/resources/rolebinding.md new file mode 100644 index 0000000..79713b4 --- /dev/null +++ b/docs/resources/rolebinding.md @@ -0,0 +1,97 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_rolebinding Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_rolebinding (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_rolebinding" "current" { + metadata { + name = "my-test" + namespace = "default" + } + spec { + subject_ref { + kind = "User" + name = "my-test" + } + policy_ref = "admin" + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `role_ref` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--role_ref)) +- `subject_ref` (Block List, Min: 1) (see [below for nested schema](#nestedblock--spec--subject_ref)) + + +### Nested Schema for `spec.role_ref` + +Required: + +- `name` (String) Name of the referent. + + + +### Nested Schema for `spec.subject_ref` + +Required: + +- `kind` (String) Kind of the referent. Valid kinds are 'User', 'Group'. +- `name` (String) Name of the referent. + + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/user.md b/docs/resources/user.md new file mode 100644 index 0000000..f7762a9 --- /dev/null +++ b/docs/resources/user.md @@ -0,0 +1,79 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_user Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_user (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_user" "current" { + metadata { + name = "my-test" + } + spec { + password = "tetete" + groups = ["asdf"] + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `attributes` (Map of String) +- `password` (String) + +Optional: + +- `groups` (Set of String) + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String) diff --git a/docs/resources/vendor.md b/docs/resources/vendor.md new file mode 100644 index 0000000..f1aa583 --- /dev/null +++ b/docs/resources/vendor.md @@ -0,0 +1,79 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "bluechip_vendor Resource - terraform-provider-bluechip" +subcategory: "" +description: |- + +--- + +# bluechip_vendor (Resource) + + + +## Example Usage + +```terraform +resource "bluechip_vendor" "current" { + metadata { + name = "current" + } + spec { + display_name = "asdf" + code_name = "AWS" + short_name = "aws" + regions = ["asdf"] + } +} +``` + + +## 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. +- `update_timestamp` (String) UpdateTimestamp is a timestamp representing the server time when this object was last updated. + + + +### Nested Schema for `spec` + +Required: + +- `code_name` (String) +- `display_name` (String) +- `regions` (Set of String) +- `short_name` (String) + + + +### Nested Schema for `timeouts` + +Optional: + +- `default` (String)