The aws_region variable is lost because terraform has removed the yaml file. A better solution would be to pass the region to the playbook via an -e command with the region extracted from the deployment configuration, but make it generic (i.e. -e cluster_region=<region>) to support GCE.
The
aws_region
variable is lost because terraform has removed the yaml file. A better solution would be to pass the region to the playbook via an-e
command with the region extracted from the deployment configuration, but make it generic (i.e.-e cluster_region=<region>
) to support GCE.