Skip to content

Commit

Permalink
d/aws_prefix_list: fix doc type and add example about finding a prefi…
Browse files Browse the repository at this point in the history
…x list by name
  • Loading branch information
roberth-k committed Jul 21, 2020
1 parent f259a03 commit 3d2ca8e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion website/docs/d/prefix_list.html.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
subcategory: "VPC"
layout: "aws"
page_title: "AWS: aws_prefix-list"
page_title: "AWS: aws_prefix_list"
description: |-
Provides details about a specific prefix list
---
Expand Down Expand Up @@ -44,6 +44,15 @@ resource "aws_network_acl_rule" "private_s3" {
}
```

### Find the regional DynamoDB prefix list

```hcl
data "aws_region" "current" {}
data "aws_prefix_list" "dynamo" {
name = "com.amazonaws.${data.aws_region.current.name}.dynamodb"
}
```

### Filter

```hcl
Expand Down

0 comments on commit 3d2ca8e

Please sign in to comment.