You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deploying the Braintrust data plane, we will no longer use the
default VPC security group, but instead create individual security
groups for Brainstore, elasticache, rds, and lambdas.
Existing deployments will have all resources deployed from Terraform
switch from using the default security groups to the individual security
groups. The quarantine lambdas that are created outside of Terraform
will still have the default VPC Security group of the Quarantine VPC,
however these can be changed to use the new Quarantine Security Group
instead via the AWS Console or via script.
---------
Co-authored-by: Jeff McCollum <[email protected]>
Co-authored-by: Mike Deeks <[email protected]>
Description: Existing KMS key ARN to use for encrypting resources. If not provided, a new key will be created. DO NOT change this after deployment. If you do, it will attempt to destroy your DB and prior S3 objects will no longer be readable.
Description: Additional policy ARNs to attach to the lambda functions that are the main braintrust service
@@ -548,6 +557,10 @@ Description: The primary endpoint for the dataplane API. This is the value that
548
557
549
558
Description: Instance ID of the bastion host that Braintrust support staff can connect to using EC2 Instance Connect. Share this with the Braintrust team.
Copy file name to clipboardExpand all lines: modules/brainstore/variables.tf
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,9 +52,16 @@ variable "vpc_id" {
52
52
description="The ID of the VPC where Brainstore resources will be created"
53
53
}
54
54
55
-
variable"security_group_id" {
56
-
type=string
57
-
description="The ID of the security group to use for Brainstore resources"
55
+
variable"authorized_security_groups" {
56
+
type=map(string)
57
+
description="Map of security group names to their IDs that are authorized to access the Brainstore ELB. Format: { name = <security_group_id> }"
58
+
default={}
59
+
}
60
+
61
+
variable"authorized_security_groups_ssh" {
62
+
type=map(string)
63
+
description="Map of security group names to their IDs that are authorized to access Brainstore instances via SSH. Format: { name = <security_group_id> }"
0 commit comments