Skip to content

Commit 819a732

Browse files
authored
remove unused variables for datastore module (#9)
1 parent b186e60 commit 819a732

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

main.tf

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ module "metaflow-datastore" {
44
resource_prefix = local.resource_prefix
55
resource_suffix = local.resource_suffix
66

7-
ecs_execution_role_arn = module.metaflow-computation.ecs_execution_role_arn
8-
ecs_instance_role_arn = module.metaflow-computation.ecs_instance_role_arn
97
metadata_service_security_group_id = module.metaflow-metadata-service.metadata_service_security_group_id
108
metaflow_vpc_id = var.vpc_id
119
subnet1_id = var.subnet1_id

modules/datastore/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ To read more, see [the Metaflow docs](https://docs.metaflow.org/metaflow-on-aws/
2222
| <a name="input_db_instance_type"></a> [db\_instance\_type](#input\_db\_instance\_type) | RDS instance type to launch for PostgresQL database. | `string` | `"db.t2.small"` | no |
2323
| <a name="input_db_name"></a> [db\_name](#input\_db\_name) | Name of PostgresQL database for Metaflow service. | `string` | `"metaflow"` | no |
2424
| <a name="input_db_username"></a> [db\_username](#input\_db\_username) | PostgresQL username; defaults to 'metaflow' | `string` | `"metaflow"` | no |
25-
| <a name="input_ecs_execution_role_arn"></a> [ecs\_execution\_role\_arn](#input\_ecs\_execution\_role\_arn) | This role will be granted access to our S3 Bucket which acts as our blob storage. | `string` | n/a | yes |
26-
| <a name="input_ecs_instance_role_arn"></a> [ecs\_instance\_role\_arn](#input\_ecs\_instance\_role\_arn) | This role will be granted access to our S3 Bucket which acts as our blob storage. | `string` | n/a | yes |
2725
| <a name="input_metadata_service_security_group_id"></a> [metadata\_service\_security\_group\_id](#input\_metadata\_service\_security\_group\_id) | The security group ID used by the MetaData service. We'll grant this access to our DB. | `string` | n/a | yes |
2826
| <a name="input_metaflow_vpc_id"></a> [metaflow\_vpc\_id](#input\_metaflow\_vpc\_id) | ID of the Metaflow VPC this SageMaker notebook instance is to be deployed in | `string` | n/a | yes |
2927
| <a name="input_resource_prefix"></a> [resource\_prefix](#input\_resource\_prefix) | Prefix given to all AWS resources to differentiate between applications | `string` | n/a | yes |

modules/datastore/variables.tf

-10
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@ variable "db_username" {
1616
default = "metaflow"
1717
}
1818

19-
variable "ecs_execution_role_arn" {
20-
type = string
21-
description = "This role will be granted access to our S3 Bucket which acts as our blob storage."
22-
}
23-
24-
variable "ecs_instance_role_arn" {
25-
type = string
26-
description = "This role will be granted access to our S3 Bucket which acts as our blob storage."
27-
}
28-
2919
variable "metadata_service_security_group_id" {
3020
type = string
3121
description = "The security group ID used by the MetaData service. We'll grant this access to our DB."

0 commit comments

Comments
 (0)