Skip to content

Commit 12295ed

Browse files
authored
update docs and remove the default for with_public_ip (#49)
1 parent 7c2368f commit 12295ed

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You can find a more complete example that uses this module but also includes set
124124
| <a name="input_ui_static_container_image"></a> [ui\_static\_container\_image](#input\_ui\_static\_container\_image) | Container image for the UI frontend app | `string` | `""` | no |
125125
| <a name="input_vpc_cidr_blocks"></a> [vpc\_cidr\_blocks](#input\_vpc\_cidr\_blocks) | The VPC CIDR blocks that we'll access list on our Metadata Service API to allow all internal communications | `list(string)` | n/a | yes |
126126
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | The id of the single VPC we stood up for all Metaflow resources to exist in. | `string` | n/a | yes |
127-
| <a name="input_with_public_ip"></a> [with\_public\_ip](#input\_with\_public\_ip) | Enable public IP assignment for the Metadata Service. Typically you want this to be set to true if using public subnets as subnet1\_id and subnet2\_id, and false otherwise | `bool` | `false` | no |
127+
| <a name="input_with_public_ip"></a> [with\_public\_ip](#input\_with\_public\_ip) | Enable public IP assignment for the Metadata Service. Typically you want this to be set to true if using public subnets as subnet1\_id and subnet2\_id, and false otherwise | `bool` | n/a | yes |
128128

129129
## Outputs
130130

examples/minimal/minimal_example.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module "vpc" {
3838

3939
module "metaflow" {
4040
source = "outerbounds/metaflow/aws"
41-
version = "0.8.0"
41+
version = "0.9.0"
4242

4343
resource_prefix = local.resource_prefix
4444
resource_suffix = local.resource_suffix
@@ -48,7 +48,7 @@ module "metaflow" {
4848
subnet2_id = module.vpc.public_subnets[1]
4949
vpc_cidr_blocks = [module.vpc.vpc_cidr_block]
5050
vpc_id = module.vpc.vpc_id
51-
with_public_ip = var.with_public_ip
51+
with_public_ip = true
5252

5353
tags = {
5454
"managedBy" = "terraform"

modules/metadata-service/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If the `access_list_cidr_blocks` variable is set, only traffic originating from
3737
| <a name="input_subnet1_id"></a> [subnet1\_id](#input\_subnet1\_id) | First private subnet used for availability zone redundancy | `string` | n/a | yes |
3838
| <a name="input_subnet2_id"></a> [subnet2\_id](#input\_subnet2\_id) | Second private subnet used for availability zone redundancy | `string` | n/a | yes |
3939
| <a name="input_vpc_cidr_blocks"></a> [vpc\_cidr\_blocks](#input\_vpc\_cidr\_blocks) | The VPC CIDR blocks that we'll access list on our Metadata Service API to allow all internal communications | `list(string)` | n/a | yes |
40-
| <a name="input_with_public_ip"></a> [with\_public\_ip](#input\_with\_public\_ip) | Enable public IP assignment for the Metadata Service. Typically you want this to be set to true if using public subnets as subnet1\_id and subnet2\_id, and false otherwise | `bool` | `false` | no |
40+
| <a name="input_with_public_ip"></a> [with\_public\_ip](#input\_with\_public\_ip) | Enable public IP assignment for the Metadata Service. Typically you want this to be set to true if using public subnets as subnet1\_id and subnet2\_id, and false otherwise | `bool` | n/a | yes |
4141

4242
## Outputs
4343

modules/metadata-service/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,5 @@ variable "vpc_cidr_blocks" {
118118

119119
variable "with_public_ip" {
120120
type = bool
121-
default = false
122121
description = "Enable public IP assignment for the Metadata Service. Typically you want this to be set to true if using public subnets as subnet1_id and subnet2_id, and false otherwise"
123122
}

variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,5 @@ variable "extra_ui_static_env_vars" {
168168

169169
variable "with_public_ip" {
170170
type = bool
171-
default = false
172171
description = "Enable public IP assignment for the Metadata Service. Typically you want this to be set to true if using public subnets as subnet1_id and subnet2_id, and false otherwise"
173172
}

0 commit comments

Comments
 (0)