We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5428ff7 commit 61e67e9Copy full SHA for 61e67e9
modules/metadata-service/data.tf
@@ -1,8 +1,3 @@
1
data "aws_caller_identity" "current" {}
2
3
data "aws_region" "current" {}
4
-
5
-data "aws_security_group" "vpc_default" {
6
- name = "default"
7
- vpc_id = var.metaflow_vpc_id
8
-}
modules/metadata-service/lambda.tf
@@ -132,6 +132,6 @@ resource "aws_lambda_function" "db_migrate_lambda" {
132
133
vpc_config {
134
subnet_ids = [var.subnet1_id, var.subnet2_id]
135
- security_group_ids = [data.aws_security_group.vpc_default.id]
+ security_group_ids = [aws_security_group.metadata_service_security_group.id]
136
}
137
0 commit comments