Skip to content

Commit

Permalink
Adding Dynamic output for Security Group IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Elhaiek committed Apr 9, 2024
1 parent 64ed72c commit f55bd2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
run: terraform init
working-directory: terraform

- name: Terraform Refresh
run: terraform refresh
working-directory: terraform
# - name: Terraform Refresh
# run: terraform refresh
# working-directory: terraform

- name: Terraform Plan
run: terraform plan -out=tfplan
Expand Down
8 changes: 8 additions & 0 deletions terraform/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,12 @@ output "vectorstore_nlb_dns_name" {
output "aws_lb_target_group_arn" {
value = aws_lb_target_group.ecs_target.arn
description = "ARN of the target group for the ALB."
}

output "nlb_sg_id" {
value = aws_security_group.nlb_sg.id
}

output "milvus_sg_id" {
value = aws_security_group.milvus_sg_api.id
}

0 comments on commit f55bd2d

Please sign in to comment.