You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
I have a terraform script that creates multiple "types" of ec2 instances... so think "web server" "database" type groups.
If i hack the ansible inventory script it would look like this:
[webserver]
node1.example.com
node2.example.com
[database]
node3.example.com
and then my ansible play books would classify tasks based on groups, i.e., install httpd on the "web server" assets only.
Is there a way to generate the hosts using terraform.py such that these groups get created based on some metadata in the terraform resource scripts? ie.. i think maybe role tags do this? https://github.com/CiscoCloud/terraform.py/blob/master/terraform.py#L330
The text was updated successfully, but these errors were encountered: