-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b006ac
commit 9cec940
Showing
3 changed files
with
138 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "plural_infrastructure_stack Resource - terraform-provider-plural" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# plural_infrastructure_stack (Resource) | ||
|
||
|
||
|
||
|
||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `cluster_id` (String) The cluster on which the stack will be applied. | ||
- `configuration` (Attributes) Stack configuration. (see [below for nested schema](#nestedatt--configuration)) | ||
- `name` (String) Human-readable name of this stack. | ||
- `repository` (Attributes) Repository information used to pull stack. (see [below for nested schema](#nestedatt--repository)) | ||
- `type` (String) A type for the stack, specifies the tool to use to apply it. Allowed values include `ANSIBLE` and `TERRAFORM`. | ||
|
||
### Optional | ||
|
||
- `approval` (Boolean) Determines whether to require approval. | ||
- `bindings` (Attributes) Read and write policies of this stack. (see [below for nested schema](#nestedatt--bindings)) | ||
- `environment` (Attributes Set) Defines environment variables for the stack. (see [below for nested schema](#nestedatt--environment)) | ||
- `files` (Map of String) File path-content map. | ||
- `job_spec` (Attributes) Repository information used to pull stack. (see [below for nested schema](#nestedatt--job_spec)) | ||
|
||
### Read-Only | ||
|
||
- `id` (String) Internal identifier of this stack. | ||
|
||
<a id="nestedatt--configuration"></a> | ||
### Nested Schema for `configuration` | ||
|
||
Required: | ||
|
||
- `version` (String) The semver of the tool you wish to use. | ||
|
||
Optional: | ||
|
||
- `image` (String) Optional custom image you might want to use. | ||
|
||
|
||
<a id="nestedatt--repository"></a> | ||
### Nested Schema for `repository` | ||
|
||
Required: | ||
|
||
- `folder` (String) The folder where manifests live. | ||
- `id` (String) ID of the repository to pull from. | ||
- `ref` (String) A general git ref, either a branch name or commit sha understandable by "git checkout <ref>". | ||
|
||
|
||
<a id="nestedatt--bindings"></a> | ||
### Nested Schema for `bindings` | ||
|
||
Optional: | ||
|
||
- `read` (Attributes Set) Read policies of this stack. (see [below for nested schema](#nestedatt--bindings--read)) | ||
- `write` (Attributes Set) Write policies of this stack. (see [below for nested schema](#nestedatt--bindings--write)) | ||
|
||
<a id="nestedatt--bindings--read"></a> | ||
### Nested Schema for `bindings.read` | ||
|
||
Optional: | ||
|
||
- `group_id` (String) | ||
- `id` (String) | ||
- `user_id` (String) | ||
|
||
|
||
<a id="nestedatt--bindings--write"></a> | ||
### Nested Schema for `bindings.write` | ||
|
||
Optional: | ||
|
||
- `group_id` (String) | ||
- `id` (String) | ||
- `user_id` (String) | ||
|
||
|
||
|
||
<a id="nestedatt--environment"></a> | ||
### Nested Schema for `environment` | ||
|
||
Required: | ||
|
||
- `name` (String) Environment variable name. | ||
- `value` (String) Environment variable value. | ||
|
||
Optional: | ||
|
||
- `secret` (Boolean) Indicates if environment variable is secret. | ||
|
||
|
||
<a id="nestedatt--job_spec"></a> | ||
### Nested Schema for `job_spec` | ||
|
||
Required: | ||
|
||
- `namespace` (String) Namespace where job will be deployed. | ||
|
||
Optional: | ||
|
||
- `annotations` (Map of String) Kubernetes annotations applied to the job. | ||
- `containers` (Attributes Set) (see [below for nested schema](#nestedatt--job_spec--containers)) | ||
- `labels` (Map of String) Kubernetes labels applied to the job. | ||
- `raw` (String) If you'd rather define the job spec via straight Kubernetes YAML. | ||
- `service_account` (String) Kubernetes service account for this job. | ||
|
||
<a id="nestedatt--job_spec--containers"></a> | ||
### Nested Schema for `job_spec.containers` | ||
|
||
Required: | ||
|
||
- `image` (String) | ||
|
||
Optional: | ||
|
||
- `args` (Set of String) Arguments to pass to the command when executing it. | ||
- `env` (Map of String) Defines environment variables to expose to the process. | ||
- `env_from` (Attributes Set) (see [below for nested schema](#nestedatt--job_spec--containers--env_from)) | ||
|
||
<a id="nestedatt--job_spec--containers--env_from"></a> | ||
### Nested Schema for `job_spec.containers.env_from` | ||
|
||
Required: | ||
|
||
- `config_map` (String) | ||
- `secret` (String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters