Skip to content

Commit

Permalink
Merge pull request #52 from aws-ia/ipam-docs-update-2-23
Browse files Browse the repository at this point in the history
Ipam docs update 2 23
  • Loading branch information
tlindsay42 authored Feb 6, 2023
2 parents 655698b + 29e2288 commit 991dcf0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .header.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ Refer to the [examples/](https://github.com/aws-ia/terraform-aws-ipam/blob/main/

The embedded example below describes a symmetrically nested pool structure, including its configuration, implementation details, requirements, and more.

## Architecture
## Architecture Example

<p align="center">
<img src="https://raw.githubusercontent.com/aws-ia/terraform-aws-ipam/main/images/ipam_symmetrical.png" alt="symmetrically nested pool deployment" width="100%">
</p>

_Note: The diagram above is an example of the type of Pool design you can deploy using this module._

## Configuration
This module strongly relies on the `var.pool_configuration` variable, which is a multi-level, nested map that describes how to nest your IPAM pools. It can accept most `aws_vpc_ipam_pool` and `aws_vpc_ipam_pool_cidr` attributes (detailed below) as well as RAM share pools (at any level) to valid AWS principals. Nested pools do not inherit attributes from their source pool(s), so all configuration options are available at each level. `locale` is implied in sub pools after declared in a parent.

Expand All @@ -21,7 +23,7 @@ The `pool_configurations` variable is the structure of the other three levels. T

```
pool_configurations = {
<pool name> = {
my_pool_name = {
description = "my pool"
cidr = ["10.0.0.0/16"]
locale = "us-east-1"
Expand All @@ -31,7 +33,7 @@ pool_configurations = {
sandbox = {
cidr = ["10.0.48.0/20"]
ram_share_principals = [local.dev_ou_arn]
<any pool_config argument (below)>
# ...any pool_config argument (below)
}
}
}
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ Refer to the [examples/](https://github.com/aws-ia/terraform-aws-ipam/blob/main/

The embedded example below describes a symmetrically nested pool structure, including its configuration, implementation details, requirements, and more.

## Architecture
## Architecture Example

<p align="center">
<img src="https://raw.githubusercontent.com/aws-ia/terraform-aws-ipam/main/images/ipam_symmetrical.png" alt="symmetrically nested pool deployment" width="100%">
</p>

\_Note: The diagram above is an example of the type of Pool design you can deploy using this module.\_

## Configuration
This module strongly relies on the `var.pool_configuration` variable, which is a multi-level, nested map that describes how to nest your IPAM pools. It can accept most `aws_vpc_ipam_pool` and `aws_vpc_ipam_pool_cidr` attributes (detailed below) as well as RAM share pools (at any level) to valid AWS principals. Nested pools do not inherit attributes from their source pool(s), so all configuration options are available at each level. `locale` is implied in sub pools after declared in a parent.

Expand All @@ -22,7 +24,7 @@ The `pool_configurations` variable is the structure of the other three levels. T

```
pool_configurations = {
<pool name> = {
my_pool_name = {
description = "my pool"
cidr = ["10.0.0.0/16"]
locale = "us-east-1"
Expand All @@ -32,7 +34,7 @@ pool_configurations = {
sandbox = {
cidr = ["10.0.48.0/20"]
ram_share_principals = [local.dev_ou_arn]
<any pool_config argument (below)>
# ...any pool_config argument (below)
}
}
}
Expand Down

0 comments on commit 991dcf0

Please sign in to comment.