Skip to content

Commit

Permalink
Update website docs for EFS volume config options
Browse files Browse the repository at this point in the history
  • Loading branch information
jukie committed May 2, 2020
1 parent ecd240d commit 3fdfdfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions website/docs/r/ecs_task_definition.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,12 @@ resource "aws_ecs_task_definition" "service" {

#### EFS Volume Configuration Arguments

For more information, see [Specifying an EFS volume in your Task Definition Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_efs.html)
For more information, see [Specifying an EFS volume in your Task Definition Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#specify-efs-config)

* `file_system_id` - (Required) The ID of the EFS File System.
* `root_directory` - (Optional) The path to mount on the host
* `transit_encryption` - (Optional) Specify "ENABLED" to use transit encryption.
* `transit_encryption_port` - (Optional) The port to use for transit encryption. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses.

##### Example Usage

Expand All @@ -175,8 +177,10 @@ resource "aws_ecs_task_definition" "service" {
name = "service-storage"
efs_volume_configuration {
file_system_id = aws_efs_file_system.fs.id
root_directory = "/opt/data"
file_system_id = aws_efs_file_system.fs.id
root_directory = "/opt/data"
transit_encryption = "ENABLED"
transit_encryption_port = 2999
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/waf_sql_injection_match_set.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ AWS WAF SQL Injection Match Set can be imported using their ID, e.g.

```
$ terraform import aws_waf_sql_injection_match_set.example a1b2c3d4-d5f6-7777-8888-9999aaaabbbbcccc
```
```

0 comments on commit 3fdfdfb

Please sign in to comment.