Skip to content

Commit

Permalink
Merge pull request #172 from boostcampwm-2024/feature/terraform
Browse files Browse the repository at this point in the history
terraform server 모듈에서 서버에 관한 아웃풋 추가
  • Loading branch information
SeoGeonhyuk authored Dec 2, 2024
2 parents b7b0640 + 321aab5 commit 734b943
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions infra/modules/server/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
output "servers_login_key" {
value = ncloud_login_key.servers_login_key.private_key
sensitive = true
output "server_publics" {
value = ncloud_server.public_servers[*]
description = "public server infos"
}

output "server_privates" {
value = ncloud_server.private_servers[*]
description = "private server infos"
}
4 changes: 2 additions & 2 deletions infra/modules/vpc_subnet/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ output "vpc_id" {
}

output "public_subnets" {
description = "public subnets id"
description = "public subnets infos"
value = ncloud_subnet.public_subnets[*]
}

output "private_subnets" {
description = "public subnets id"
description = "public subnets infos"
value = ncloud_subnet.private_subnets[*]
}

0 comments on commit 734b943

Please sign in to comment.