Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11366

Output Order in specific order

$
0
0

@manishingole-coder wrote:

Hi Team,

I have terraform config file (version 0.12.20)which creates ec2 instance. In the last I am displaying its IP’s. I want to display order in a certain order.

For example

Outputs:

Bart_SERVER_IP = “172.22.16.219”

Master-IP = “172.22.16.218”

PEM-IP = “172.22.16.222”

SSH-USER = “demo”

Slave1-IP = “172.22.14.189”

Slave2-IP = “172.22.16.217”

To

Outputs:

Bart_SERVER_IP = “172.22.16.219”

Master-IP = “172.22.16.218”

Slave1-IP = “172.22.14.189”

Slave2-IP = “172.22.16.217”

PEM-IP = “172.22.16.222”

SSH-USER = “root”

============

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 11366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>