When running terraforming multiple times against the same infrastructure, values in an array (such as multiple CloudWatch alarms) will appear in a random order. Example:
First run:
alarm_actions = ["arn:aws:automate:us-east-1:ec2:recover", "arn:aws:sns:us-east-1::us-east-dw01-default-alarms"]
Second run:
alarm_actions = ["arn:aws:sns:us-east-1::us-east-dw01-default-alarms", "arn:aws:automate:us-east-1:ec2:recover"]
It would be nice if terraforming could sort the array for consistent output every time it is executed.
When running terraforming multiple times against the same infrastructure, values in an array (such as multiple CloudWatch alarms) will appear in a random order. Example:
First run: alarm_actions = ["arn:aws:automate:us-east-1:ec2:recover", "arn:aws:sns:us-east-1::us-east-dw01-default-alarms"]
Second run: alarm_actions = ["arn:aws:sns:us-east-1::us-east-dw01-default-alarms", "arn:aws:automate:us-east-1:ec2:recover"]
It would be nice if terraforming could sort the array for consistent output every time it is executed.