lists: ensure correct pool is used for each list

This commit is contained in:
Iain Learmonth 2022-09-27 09:22:57 +01:00
parent 339b02d815
commit ba2894c697
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ class ListGithubAutomation(ListAutomation):
repository = data.github_repository.repository_{{ list.id }}.name
branch = "{{ list.branch }}"
file = "{{ list.filename }}"
content = file("{{ list.format }}.{{ list.encoding }}")
content = file("{{ list.format }}.{{ list.pool.pool_name }}.{{ list.encoding }}")
commit_message = "Managed by Terraform"
commit_author = "Terraform User"
commit_email = "terraform@api.otf.is"