tweaks to the enterprise section for ecs mesh gateways

This commit is contained in:
trujillo-adam 2022-06-17 15:17:48 -07:00
parent c59889a86f
commit ba52ae5ac7
1 changed files with 8 additions and 8 deletions

View File

@ -7,20 +7,19 @@ description: >-
# Consul Enterprise # Consul Enterprise
Consul on ECS supports running Consul Enterprise by specifying the Consul Enterprise You can run Consul Enterprise on ECS by specifying the Consul Enterprise Docker image in the Terraform module parameters.
Docker image in the Terraform module parameters.
## How To Use Consul Enterprise ## Specify the Consul image
When instantiating the [`mesh-task`](https://registry.terraform.io/modules/hashicorp/consul-ecs/aws/latest/submodules/mesh-task) module, When instantiating the [`mesh-task`](https://registry.terraform.io/modules/hashicorp/consul-ecs/aws/latest/submodules/mesh-task) or [`gateway-task`](https://registry.terraform.io/modules/hashicorp/consul-ecs/aws/latest/submodules/gateway-task) module,
set the parameter `consul_image` to a Consul Enterprise image, e.g. `hashicorp/consul-enterprise:1.10.0-ent`: set the parameter `consul_image` to a Consul Enterprise image. The following example instructs the `mesh-task` module to import Consul Enterprise version 1.12.0:
```hcl ```hcl
module "my_task" { module "my_task" {
source = "hashicorp/consul-ecs/aws//modules/mesh-task" source = "hashicorp/consul-ecs/aws//modules/mesh-task"
version = "<latest version>" version = "<latest version>"
consul_image = "hashicorp/consul-enterprise:<version>-ent" consul_image = "hashicorp/consul-enterprise:1.12.0-ent"
... ...
} }
``` ```
@ -62,11 +61,12 @@ If client support is required for any of the features, then you must use a Consu
### Admin Partitions and Namespaces ### Admin Partitions and Namespaces
Consul on ECS supports [admin partitions](/docs/enterprise/admin-partitions) and [namespaces](/docs/enterprise/namespaces) when Consul Enterprise servers and clients are used. Consul on ECS supports [admin partitions](/docs/enterprise/admin-partitions) and [namespaces](/docs/enterprise/namespaces) when Consul Enterprise servers and clients are used. These features have the following requirements:
These features have the following requirements:
* ACLs must be enabled. * ACLs must be enabled.
* ACL controller must run in the ECS cluster. * ACL controller must run in the ECS cluster.
* `mesh-tasks` must use a Consul Enterprise client image. * `mesh-tasks` must use a Consul Enterprise client image.
* `gateway-task`s must use a Consul Enterprise client image.
The ACL controller automatically manages ACL policies and token provisioning for clients and services on the service mesh. The ACL controller automatically manages ACL policies and token provisioning for clients and services on the service mesh.
It also creates admin partitions and namespaces if they do not already exist. It also creates admin partitions and namespaces if they do not already exist.