dolphinscheduler-output.tf 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. # Licensed to the Apache Software Foundation (ASF) under one
  2. # or more contributor license agreements. See the NOTICE file
  3. # distributed with this work for additional information
  4. # regarding copyright ownership. The ASF licenses this file
  5. # to you under the Apache License, Version 2.0 (the
  6. # "License"); you may not use this file except in compliance
  7. # with the License. You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing,
  12. # software distributed under the License is distributed on an
  13. # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. # KIND, either express or implied. See the License for the
  15. # specific language governing permissions and limitations
  16. # under the License.
  17. output "vm_server_instance_id" {
  18. value = [for vm in aws_instance.standalone_server : vm.id]
  19. description = "Instance IDs of standalone instances"
  20. }
  21. output "vm_server_instance_private_ip" {
  22. value = [for vm in aws_instance.standalone_server : vm.private_ip]
  23. description = "Private IPs of standalone instances"
  24. }
  25. output "vm_server_instance_public_dns" {
  26. value = [for vm in aws_instance.standalone_server : vm.public_dns]
  27. description = "Public domain names of standalone instances"
  28. }
  29. output "vm_server_instance_public_ip" {
  30. value = [for vm in aws_instance.standalone_server : vm.public_ip]
  31. description = "Public IPs of standalone instances"
  32. }
  33. output "master_server_instance_id" {
  34. value = [for vm in aws_instance.master : vm.id]
  35. description = "Instance IDs of master instances"
  36. }
  37. output "master_server_instance_private_ip" {
  38. value = [for vm in aws_instance.master : vm.private_ip]
  39. description = "Private IPs of master instances"
  40. }
  41. output "master_server_instance_public_dns" {
  42. value = [for vm in aws_instance.master : vm.public_dns]
  43. description = "Public domain names of master instances"
  44. }
  45. output "master_server_instance_public_ip" {
  46. value = [for vm in aws_instance.master : vm.public_ip]
  47. description = "Public IPs of master instances"
  48. }
  49. output "worker_server_instance_id" {
  50. value = [for vm in aws_instance.worker : vm.id]
  51. description = "Instance IDs of worker instances"
  52. }
  53. output "worker_server_instance_private_ip" {
  54. value = [for vm in aws_instance.worker : vm.private_ip]
  55. description = "Private IPs of worker instances"
  56. }
  57. output "worker_server_instance_public_dns" {
  58. value = [for vm in aws_instance.worker : vm.public_dns]
  59. description = "Public domain names of worker instances"
  60. }
  61. output "worker_server_instance_public_ip" {
  62. value = [for vm in aws_instance.worker : vm.public_ip]
  63. description = "Public IPs of worker instances"
  64. }
  65. output "api_server_instance_id" {
  66. value = [for vm in aws_instance.api : vm.id]
  67. description = "Instance IDs of api instances"
  68. }
  69. output "api_server_instance_private_ip" {
  70. value = [for vm in aws_instance.api : vm.private_ip]
  71. description = "Private IPs of api instances"
  72. }
  73. output "api_server_instance_public_dns" {
  74. value = [for vm in aws_instance.api : vm.public_dns]
  75. description = "Public domain names of api instances"
  76. }
  77. output "api_server_instance_public_ip" {
  78. value = [for vm in aws_instance.api : vm.public_ip]
  79. description = "Public IPs of api instances"
  80. }
  81. output "alert_server_instance_id" {
  82. value = [for vm in aws_instance.alert : vm.id]
  83. description = "Instance IDs of alert instances"
  84. }
  85. output "alert_server_instance_private_ip" {
  86. value = [for vm in aws_instance.alert : vm.private_ip]
  87. description = "Private IPs of alert instances"
  88. }
  89. output "alert_server_instance_public_dns" {
  90. value = [for vm in aws_instance.alert : vm.public_dns]
  91. description = "Public domain names of alert instances"
  92. }
  93. output "alert_server_instance_public_ip" {
  94. value = [for vm in aws_instance.alert : vm.public_ip]
  95. description = "Public IPs of alert instances"
  96. }