aboutsummaryrefslogtreecommitdiffstats
path: root/terraform-ci-infra/1n_nmd/minio/outputs.tf
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2020-12-09 20:11:42 +0000
committerPeter Mikus <pmikus@cisco.com>2020-12-12 07:59:30 +0000
commitfd4d85865e145f12330a4266be48fbdd6e919cf4 (patch)
treea94252782163c250a29a0551ba48df2e023d0692 /terraform-ci-infra/1n_nmd/minio/outputs.tf
parent688a68a8f6d8a69a85cb76421a16dff9c4105c52 (diff)
Refactor storage solution
+ Minio terraform module + XL mode enabled with erasure code + Upload script as a sample + Nginx terraform module + Updating ansible to reflect changes Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia8c439b749aa0de82bd6f1d0cfbecce4d7000a8f
Diffstat (limited to 'terraform-ci-infra/1n_nmd/minio/outputs.tf')
-rw-r--r--terraform-ci-infra/1n_nmd/minio/outputs.tf21
1 files changed, 21 insertions, 0 deletions
diff --git a/terraform-ci-infra/1n_nmd/minio/outputs.tf b/terraform-ci-infra/1n_nmd/minio/outputs.tf
new file mode 100644
index 0000000000..c3d7f15af6
--- /dev/null
+++ b/terraform-ci-infra/1n_nmd/minio/outputs.tf
@@ -0,0 +1,21 @@
+output "minio_service_name" {
+ description = "Minio service name"
+ value = data.template_file.nomad_job_minio.vars.service_name
+}
+
+output "minio_access_key" {
+ description = "Minio access key"
+ value = data.template_file.nomad_job_minio.vars.access_key
+ sensitive = true
+}
+
+output "minio_secret_key" {
+ description = "Minio secret key"
+ value = data.template_file.nomad_job_minio.vars.secret_key
+ sensitive = true
+}
+
+output "minio_port" {
+ description = "Minio port number"
+ value = data.template_file.nomad_job_minio.vars.port
+}