Skip to content

Commit

Permalink
Add ECSTargetGroupObject to the configuration reference documentation (
Browse files Browse the repository at this point in the history
…#4649)

* Add ECSTargetGroupObject to the configuration reference documentation

Signed-off-by: uncle <[email protected]>

* Add docs-dev and Change markdown table formatting

Signed-off-by: uncle <[email protected]>

---------

Signed-off-by: uncle <[email protected]>
  • Loading branch information
ouchi2501 authored Nov 2, 2023
1 parent dd68c04 commit fd5af4b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
15 changes: 12 additions & 3 deletions docs/content/en/docs-dev/user-guide/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,19 @@ One of `yamlField` or `regex` is required.

| Field | Type | Description | Required |
|-|-|-|-|
| primary | ECSTargetGroupObject | The PRIMARY target group, will be used to register the PRIMARY ECS task set. | Yes |
| canary | ECSTargetGroupObject | The CANARY target group, will be used to register the CANARY ECS task set if exist. It's required to enable PipeCD to perform the multi-stage deployment. | No |
| primary | [ECSTargetGroupObject](#ecstargetgroupobject) | The PRIMARY target group, will be used to register the PRIMARY ECS task set. | Yes |
| canary | [ECSTargetGroupObject](#ecstargetgroupobject) | The CANARY target group, will be used to register the CANARY ECS task set if exist. It's required to enable PipeCD to perform the multi-stage deployment. | No |

Note: You can get examples for those object from [here](../../examples/#ecs-applications).
#### ECSTargetGroupObject

| Field | Type | Description | Required |
|-|-|-|-|
| targetGroupArn | string | The name of the container (as it appears in a container definition) to associate with the load balancer | Yes |
| containerName | string | The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. | Yes |
| containerPort | int | The port on the container to associate with the load balancer. | Yes |
| LoadBalancerName | string | The name of the load balancer to associate with the Amazon ECS service or task set. | No |

Note: The available values are identical to those found in the aws-sdk-go-v2 Types.LoadBalancer. For more details, please refer to [this link](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/ecs/types#LoadBalancer) .

## ECSQuickSync

Expand Down
15 changes: 12 additions & 3 deletions docs/content/en/docs-v0.45.x/user-guide/configuration-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,19 @@ One of `yamlField` or `regex` is required.

| Field | Type | Description | Required |
|-|-|-|-|
| primary | ECSTargetGroupObject | The PRIMARY target group, will be used to register the PRIMARY ECS task set. | Yes |
| canary | ECSTargetGroupObject | The CANARY target group, will be used to register the CANARY ECS task set if exist. It's required to enable PipeCD to perform the multi-stage deployment. | No |
| primary | [ECSTargetGroupObject](#ecstargetgroupobject) | The PRIMARY target group, will be used to register the PRIMARY ECS task set. | Yes |
| canary | [ECSTargetGroupObject](#ecstargetgroupobject) | The CANARY target group, will be used to register the CANARY ECS task set if exist. It's required to enable PipeCD to perform the multi-stage deployment. | No |

Note: You can get examples for those object from [here](../../examples/#ecs-applications).
#### ECSTargetGroupObject

| Field | Type | Description | Required |
|-|-|-|-|
| targetGroupArn | string | The name of the container (as it appears in a container definition) to associate with the load balancer | Yes |
| containerName | string | The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or task set. | Yes |
| containerPort | int | The port on the container to associate with the load balancer. | Yes |
| LoadBalancerName | string | The name of the load balancer to associate with the Amazon ECS service or task set. | No |

Note: The available values are identical to those found in the aws-sdk-go-v2 Types.LoadBalancer. For more details, please refer to [this link](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/ecs/types#LoadBalancer) .

## ECSQuickSync

Expand Down

0 comments on commit fd5af4b

Please sign in to comment.