Terraform contd
AWS – ntier
-
Expectation
-
Manual steps

- To access outputs i.e. attributes of a resource syntax is
<resoure_type>.<name>.<atrribute-name> - Refer Here for the changes done

- To create multiple resources Refer Here
-
Lets apply the count for subnet creation Refer Here for changes
- Lets start using terraform functions to make further improvements using terraform functions Refer Here
- Lets replace static count of 4 with length function Refer Here
- Refer Here for changeset
