-
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.
Merge pull request #7 from encoredev/more_ds
Add more Encore Data Sources
- Loading branch information
Showing
33 changed files
with
8,573 additions
and
205 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "encore_cache Data Source - terraform-provider-encore" | ||
subcategory: "" | ||
description: |- | ||
Encore provisioned cache information | ||
--- | ||
|
||
# encore_cache (Data Source) | ||
|
||
Encore provisioned cache information | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "encore_cache" "cache" { | ||
name = "my-cache" | ||
env = "my-env" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the Encore resource | ||
|
||
### Optional | ||
|
||
- `env` (String) The environment of the Encore resource. Defaults to the provider environment | ||
|
||
### Read-Only | ||
|
||
- `aws_redis` (Attributes) Set if the Redis cluster is provisioned on AWS (see [below for nested schema](#nestedatt--aws_redis)) | ||
- `gcp_redis` (Attributes) Set if the Redis cluster is provisioned on GCP (see [below for nested schema](#nestedatt--gcp_redis)) | ||
|
||
<a id="nestedatt--aws_redis"></a> | ||
### Nested Schema for `aws_redis` | ||
|
||
Read-Only: | ||
|
||
- `arn` (String) The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the Redis cluster | ||
- `parameter_group` (Attributes) The parameter group of the Redis cluster (see [below for nested schema](#nestedatt--aws_redis--parameter_group)) | ||
- `security_group` (Attributes) The security group of the Redis cluster (see [below for nested schema](#nestedatt--aws_redis--security_group)) | ||
- `subnet_group` (Attributes) The subnet group the Redis cluster is provisioned in (see [below for nested schema](#nestedatt--aws_redis--subnet_group)) | ||
- `vpc` (Attributes) The VPC the Redis cluster is provisioned in (see [below for nested schema](#nestedatt--aws_redis--vpc)) | ||
|
||
<a id="nestedatt--aws_redis--parameter_group"></a> | ||
### Nested Schema for `aws_redis.parameter_group` | ||
|
||
Read-Only: | ||
|
||
- `arn` (String) The [ARN](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html) for the parameter group | ||
|
||
|
||
<a id="nestedatt--aws_redis--security_group"></a> | ||
### Nested Schema for `aws_redis.security_group` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) The [id](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) for the security group | ||
|
||
|
||
<a id="nestedatt--aws_redis--subnet_group"></a> | ||
### Nested Schema for `aws_redis.subnet_group` | ||
|
||
Read-Only: | ||
|
||
- `arn` (String) The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the subnet group | ||
- `subnets` (Attributes List) The subnets the resource is provisioned in (see [below for nested schema](#nestedatt--aws_redis--subnet_group--subnets)) | ||
|
||
<a id="nestedatt--aws_redis--subnet_group--subnets"></a> | ||
### Nested Schema for `aws_redis.subnet_group.subnets` | ||
|
||
Read-Only: | ||
|
||
- `arn` (String) The [ARN](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html) for the subnet | ||
- `az` (String) The [availability zone](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) for the subnet | ||
- `vpc` (Attributes) The [VPC](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) that the subnet is connected to (see [below for nested schema](#nestedatt--aws_redis--subnet_group--subnets--vpc)) | ||
|
||
<a id="nestedatt--aws_redis--subnet_group--subnets--vpc"></a> | ||
### Nested Schema for `aws_redis.subnet_group.subnets.vpc` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) The [id](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) for the VPC | ||
|
||
|
||
|
||
|
||
<a id="nestedatt--aws_redis--vpc"></a> | ||
### Nested Schema for `aws_redis.vpc` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) The [id](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html) for the VPC | ||
|
||
|
||
|
||
<a id="nestedatt--gcp_redis"></a> | ||
### Nested Schema for `gcp_redis` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) The [id](https://cloud.google.com/apis/design/resource_names#relative_resource_name) in the form of `projects/{project}/locations/{location}/instances/{instance}` | ||
- `network` (Attributes) The network the Redis cluster is provisioned in (see [below for nested schema](#nestedatt--gcp_redis--network)) | ||
|
||
<a id="nestedatt--gcp_redis--network"></a> | ||
### Nested Schema for `gcp_redis.network` | ||
|
||
Read-Only: | ||
|
||
- `id` (String) The [id](https://cloud.google.com/apis/design/resource_names#relative_resource_name) in the form of `projects/{project}/global/networks/{network}` |
Oops, something went wrong.