Skip to content

Commit

Permalink
Update aws-params-writer to explicitly take a parameters count (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Lopez authored Apr 22, 2019
1 parent 57261e8 commit 9d5798e
Show file tree
Hide file tree
Showing 29 changed files with 218 additions and 211 deletions.
18 changes: 9 additions & 9 deletions aws-acm-cert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ module "cert" {

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| aws\_route53\_zone\_id | - | string | - | yes |
| cert\_domain\_name | Like www.foo.bar.com or *.foo.bar.com | string | - | yes |
| aws\_route53\_zone\_id | | string | n/a | yes |
| cert\_domain\_name | Like www.foo.bar.com or *.foo.bar.com | string | n/a | yes |
| cert\_subject\_alternative\_names | A map of <alternative_domain:route53_zone_id> | map | `<map>` | no |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | - | yes |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| validation\_record\_ttl | - | string | `60` | no |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | n/a | yes |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| validation\_record\_ttl | | string | `"60"` | no |

## Outputs

| Name | Description |
|------|-------------|
| arn | - |
| id | - |
| arn | |
| id | |

<!-- END -->
44 changes: 22 additions & 22 deletions aws-aurora-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,34 +35,34 @@ module "db" {

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| apply\_immediately | If false changes will not be applied until next maintenance window. | string | `false` | no |
| backtrack\_window | Turns on Backgrack for this many seconds. [Doc](https://aws.amazon.com/blogs/aws/amazon-aurora-backtrack-turn-back-time/) | string | `0` | no |
| database\_name | The name of the database to be created in the cluster. | string | - | yes |
| database\_password | Password for user that will be created. | string | - | yes |
| database\_subnet\_group | The name of an existing database subnet group to use. | string | - | yes |
| database\_username | Default user to be created. | string | - | yes |
| apply\_immediately | If false changes will not be applied until next maintenance window. | string | `"false"` | no |
| backtrack\_window | Turns on Backgrack for this many seconds. [Doc](https://aws.amazon.com/blogs/aws/amazon-aurora-backtrack-turn-back-time/) | string | `"0"` | no |
| database\_name | The name of the database to be created in the cluster. | string | n/a | yes |
| database\_password | Password for user that will be created. | string | n/a | yes |
| database\_subnet\_group | The name of an existing database subnet group to use. | string | n/a | yes |
| database\_username | Default user to be created. | string | n/a | yes |
| db\_parameters | Instance params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.Parameters.Instance) | list | `<list>` | no |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| iam\_database\_authentication\_enabled | - | string | `false` | no |
| ingress\_cidr\_blocks | A list of CIDR blocks that should be allowed to communicate with this Aurora cluster. | list | - | yes |
| instance\_class | See valid instance types [here](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managing.Performance.html) | string | `db.t2.small` | no |
| instance\_count | Number of instances to create in this cluster. | string | `1` | no |
| kms\_key\_id | If provided, storage will be encrypted with this key, otherwise an AWS-managed key is used. (Encryption is always on). | string | `` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| performance\_insights\_enabled | - | string | `false` | no |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | - | yes |
| publicly\_accessible | Avoid doing this - it gives access to the open internet. | string | `false` | no |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| iam\_database\_authentication\_enabled | | string | `"false"` | no |
| ingress\_cidr\_blocks | A list of CIDR blocks that should be allowed to communicate with this Aurora cluster. | list | n/a | yes |
| instance\_class | See valid instance types [here](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Managing.Performance.html) | string | `"db.t2.small"` | no |
| instance\_count | Number of instances to create in this cluster. | string | `"1"` | no |
| kms\_key\_id | If provided, storage will be encrypted with this key, otherwise an AWS-managed key is used. (Encryption is always on). | string | `""` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| performance\_insights\_enabled | | string | `"false"` | no |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | n/a | yes |
| publicly\_accessible | Avoid doing this - it gives access to the open internet. | string | `"false"` | no |
| rds\_cluster\_parameters | Cluster params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Reference.html#AuroraMySQL.Reference.Parameters.Cluster) | list | `<list>` | no |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| skip\_final\_snapshot | When you destroy a database RDS will, by default, take snapshot. Set this to skip that step. | string | `false` | no |
| vpc\_id | The id of the existing VPC in which this cluster should be created. | string | - | yes |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| skip\_final\_snapshot | When you destroy a database RDS will, by default, take snapshot. Set this to skip that step. | string | `"false"` | no |
| vpc\_id | The id of the existing VPC in which this cluster should be created. | string | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| database\_name | - |
| endpoint | - |
| reader\_endpoint | - |
| database\_name | |
| endpoint | |
| reader\_endpoint | |

<!-- END -->
46 changes: 23 additions & 23 deletions aws-aurora-postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,35 +35,35 @@ module "db" {

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| apply\_immediately | If false changes will not be applied until next maintenance window. | string | `false` | no |
| database\_name | The name of the database to be created in the cluster. | string | - | yes |
| database\_password | Password for user that will be created. | string | - | yes |
| database\_subnet\_group | The name of an existing database subnet group to use. | string | - | yes |
| database\_username | Default user to be created. | string | - | yes |
| apply\_immediately | If false changes will not be applied until next maintenance window. | string | `"false"` | no |
| database\_name | The name of the database to be created in the cluster. | string | n/a | yes |
| database\_password | Password for user that will be created. | string | n/a | yes |
| database\_subnet\_group | The name of an existing database subnet group to use. | string | n/a | yes |
| database\_username | Default user to be created. | string | n/a | yes |
| db\_parameters | Instance params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Reference.html#AuroraPostgreSQL.Reference.Parameters.Instance) | list | `<list>` | no |
| engine\_version | The version of Postgres to use. | string | `9.6` | no |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| iam\_database\_authentication\_enabled | - | string | `false` | no |
| ingress\_cidr\_blocks | A list of CIDR blocks that should be allowed to communicate with this Aurora cluster. | list | - | yes |
| instance\_class | See valid instance types [here](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Managing.html) | string | `db.r4.large` | no |
| instance\_count | Number of instances to create in this cluster. | string | `1` | no |
| kms\_key\_id | If provided, storage will be encrypted with this key, otherwise an AWS-managed key is used. (Encryption is always on). | string | `` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| performance\_insights\_enabled | - | string | `false` | no |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | - | yes |
| publicly\_accessible | Avoid doing this - it gives access to the open internet. | string | `false` | no |
| engine\_version | The version of Postgres to use. | string | `"9.6"` | no |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| iam\_database\_authentication\_enabled | | string | `"false"` | no |
| ingress\_cidr\_blocks | A list of CIDR blocks that should be allowed to communicate with this Aurora cluster. | list | n/a | yes |
| instance\_class | See valid instance types [here](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Managing.html) | string | `"db.r4.large"` | no |
| instance\_count | Number of instances to create in this cluster. | string | `"1"` | no |
| kms\_key\_id | If provided, storage will be encrypted with this key, otherwise an AWS-managed key is used. (Encryption is always on). | string | `""` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| performance\_insights\_enabled | | string | `"false"` | no |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | n/a | yes |
| publicly\_accessible | Avoid doing this - it gives access to the open internet. | string | `"false"` | no |
| rds\_cluster\_parameters | Cluster params you can set. [Doc](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Reference.html#AuroraPostgreSQL.Reference.Parameters.Cluster) | list | `<list>` | no |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| skip\_final\_snapshot | When you destroy a database RDS will, by default, take snapshot. Set this to skip that step. | string | `false` | no |
| vpc\_id | The id of the existing VPC in which this cluster should be created. | string | - | yes |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| skip\_final\_snapshot | When you destroy a database RDS will, by default, take snapshot. Set this to skip that step. | string | `"false"` | no |
| vpc\_id | The id of the existing VPC in which this cluster should be created. | string | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| database\_name | - |
| endpoint | - |
| port | - |
| reader\_endpoint | - |
| database\_name | |
| endpoint | |
| port | |
| reader\_endpoint | |

<!-- END -->
58 changes: 29 additions & 29 deletions aws-aurora/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,39 @@ This is a low-level module for creating AWS Aurora clusters. We strongly reccome

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| apply\_immediately | - | string | `false` | no |
| backtrack\_window | - | string | `0` | no |
| database\_name | - | string | - | yes |
| database\_password | - | string | - | yes |
| database\_subnet\_group | - | string | - | yes |
| database\_username | - | string | - | yes |
| db\_parameters | - | list | `<list>` | no |
| enabled\_cloudwatch\_logs\_exports | - | list | `<list>` | no |
| engine | - | string | - | yes |
| engine\_version | - | string | - | yes |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| iam\_database\_authentication\_enabled | - | string | `true` | no |
| ingress\_cidr\_blocks | - | list | - | yes |
| instance\_class | - | string | `db.t2.small` | no |
| instance\_count | - | string | `1` | no |
| kms\_key\_id | If supplied, RDS will use this key to encrypt data at rest. Empty string means that RDS will use an AWS-managed key. Encryption is always on with this module. | string | `` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| performance\_insights\_enabled | - | string | `true` | no |
| port | - | string | - | yes |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | - | yes |
| publicly\_accessible | - | string | `false` | no |
| rds\_cluster\_parameters | - | list | `<list>` | no |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| skip\_final\_snapshot | - | string | `false` | no |
| vpc\_id | - | string | - | yes |
| apply\_immediately | | string | `"false"` | no |
| backtrack\_window | | string | `"0"` | no |
| database\_name | | string | n/a | yes |
| database\_password | | string | n/a | yes |
| database\_subnet\_group | | string | n/a | yes |
| database\_username | | string | n/a | yes |
| db\_parameters | | list | `<list>` | no |
| enabled\_cloudwatch\_logs\_exports | | list | `<list>` | no |
| engine | | string | n/a | yes |
| engine\_version | | string | n/a | yes |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| iam\_database\_authentication\_enabled | | string | `"true"` | no |
| ingress\_cidr\_blocks | | list | n/a | yes |
| instance\_class | | string | `"db.t2.small"` | no |
| instance\_count | | string | `"1"` | no |
| kms\_key\_id | If supplied, RDS will use this key to encrypt data at rest. Empty string means that RDS will use an AWS-managed key. Encryption is always on with this module. | string | `""` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| performance\_insights\_enabled | | string | `"true"` | no |
| port | | string | n/a | yes |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | n/a | yes |
| publicly\_accessible | | string | `"false"` | no |
| rds\_cluster\_parameters | | list | `<list>` | no |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| skip\_final\_snapshot | | string | `"false"` | no |
| vpc\_id | | string | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| database\_name | - |
| endpoint | - |
| port | - |
| reader\_endpoint | - |
| database\_name | |
| endpoint | |
| port | |
| reader\_endpoint | |

<!-- END -->
14 changes: 7 additions & 7 deletions aws-cloudwatch-log-group/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ By default the name is `${var.project}-${var.env}-${var.service}`, but you can o

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| log\_group\_name | Name for the log group. If not set, it will be $project-$env-$service} | string | `` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | - | yes |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | - | yes |
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| log\_group\_name | Name for the log group. If not set, it will be $project-$env-$service} | string | `""` | no |
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |
| project | Project for tagging and naming. See [doc](../README.md#consistent-tagging) | string | n/a | yes |
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging). | string | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| arn | - |
| name | - |
| arn | |
| name | |

<!-- END -->
2 changes: 1 addition & 1 deletion aws-default-vpc-security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ You will need to invoke this module with a properly configured provider for ever

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| default\_sg\_lockdown | Restrict default security group to deny all traffic (you can selectively enable traffic with other security groups). | string | `true` | no |
| default\_sg\_lockdown | Restrict default security group to deny all traffic (you can selectively enable traffic with other security groups). | string | `"true"` | no |

<!-- END -->
14 changes: 7 additions & 7 deletions aws-iam-ecs-task-role/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ output "ecs-role-arn" {

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| env | Environment name. For example– dev, staging or prod. | string | - | yes |
| iam\_path | IAM path for the role. | string | `/` | no |
| owner | Email address of the owner. Can be a group address. | string | - | yes |
| project | High-level project, should be unique across the organization. | string | - | yes |
| service | Name of this thing we're running. | string | - | yes |
| env | Environment name. For example– dev, staging or prod. | string | n/a | yes |
| iam\_path | IAM path for the role. | string | `"/"` | no |
| owner | Email address of the owner. Can be a group address. | string | n/a | yes |
| project | High-level project, should be unique across the organization. | string | n/a | yes |
| service | Name of this thing we're running. | string | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| arn | - |
| name | - |
| arn | |
| name | |

<!-- END -->
12 changes: 6 additions & 6 deletions aws-iam-group-assume-role/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ output "group_name" {
| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| depends\_on | Pseudo depends_on because Terraform modules do not support depends_on | list | `<list>` | no |
| group\_name | The name of the group this module will create. | string | - | yes |
| iam\_path | The IAM path under which the group and policies will be created. Useful for avoiding naming conflicts. | string | `/` | no |
| target\_accounts | List of accounts in which this role should be assume-able. | list | - | yes |
| target\_role | Name of the role to be assume-able. If not specified or given as empty string, then the group name will be used as the role name. | string | `` | no |
| group\_name | The name of the group this module will create. | string | n/a | yes |
| iam\_path | The IAM path under which the group and policies will be created. Useful for avoiding naming conflicts. | string | `"/"` | no |
| target\_accounts | List of accounts in which this role should be assume-able. | list | n/a | yes |
| target\_role | Name of the role to be assume-able. If not specified or given as empty string, then the group name will be used as the role name. | string | `""` | no |
| users | List of user's names who should be added to this group. | list | `<list>` | no |

## Outputs

| Name | Description |
|------|-------------|
| group\_arn | - |
| group\_name | - |
| group\_arn | |
| group\_name | |

<!-- END -->
6 changes: 3 additions & 3 deletions aws-iam-group-console-login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ output "group_name" {

| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| group\_name | Name of the group to be created. | string | `console-login` | no |
| iam\_path | IAM path under which resources will be created. | string | `/` | no |
| group\_name | Name of the group to be created. | string | `"console-login"` | no |
| iam\_path | IAM path under which resources will be created. | string | `"/"` | no |

## Outputs

| Name | Description |
|------|-------------|
| group\_name | - |
| group\_name | |

<!-- END -->
Loading

0 comments on commit 9d5798e

Please sign in to comment.