Skip to content

Commit ef7c27e

Browse files
committed
Move import section to end of doc
1 parent 46d83f5 commit ef7c27e

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

website/docs/r/ecs_express_gateway_service.html.markdown

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,6 @@ When you update an Express service configuration, a new service revision is crea
3737

3838
When an Express service is deleted, it enters a `DRAINING` state where existing tasks are allowed to complete gracefully before termination. The deletion process is irreversible - once initiated, the service and all its associated AWS infrastructure (load balancers, target groups, etc.) will be permanently removed. During the draining process, no new tasks are started, and the service becomes unavailable once all tasks have completed.
3939

40-
## Import
41-
42-
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import ECS Express Gateway Services using the service ARN. For example:
43-
44-
```terraform
45-
import {
46-
to = aws_ecs_express_gateway_service.example
47-
id = "arn:aws:ecs:us-west-2:123456789012:service/my-cluster/my-express-gateway-service"
48-
}
49-
```
50-
51-
Using `terraform import`, import ECS Express Gateway Services using the service ARN. For example:
52-
53-
```console
54-
% terraform import aws_ecs_express_gateway_service.example arn:aws:ecs:us-west-2:123456789012:service/my-cluster/my-express-gateway-service
55-
```
56-
5740
## Argument Reference
5841

5942
The following arguments are required:
@@ -199,3 +182,20 @@ This resource exports the following attributes in addition to the arguments abov
199182
* `create` - (Default `30m`)
200183
* `update` - (Default `30m`)
201184
* `delete` - (Default `20m`)
185+
186+
## Import
187+
188+
In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import ECS Express Gateway Services using the service ARN. For example:
189+
190+
```terraform
191+
import {
192+
to = aws_ecs_express_gateway_service.example
193+
id = "arn:aws:ecs:us-west-2:123456789012:service/my-cluster/my-express-gateway-service"
194+
}
195+
```
196+
197+
Using `terraform import`, import ECS Express Gateway Services using the service ARN. For example:
198+
199+
```console
200+
% terraform import aws_ecs_express_gateway_service.example arn:aws:ecs:us-west-2:123456789012:service/my-cluster/my-express-gateway-service
201+
```

0 commit comments

Comments
 (0)