lists: ensure correct pool is used for each list
This commit is contained in:
parent
339b02d815
commit
ba2894c697
3 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -43,7 +43,7 @@ class ListGitlabAutomation(ListAutomation):
|
|||
project = data.gitlab_project.project_{{ list.id }}.id
|
||||
file_path = "{{ list.filename }}"
|
||||
branch = "{{ list.branch }}"
|
||||
content = base64encode(file("{{ list.format }}.{{ list.encoding }}"))
|
||||
content = base64encode(file("{{ list.format }}.{{ list.pool.pool_name }}.{{ list.encoding }}"))
|
||||
author_email = "{{ gitlab_author_email }}"
|
||||
author_name = "{{ gitlab_author_name }}"
|
||||
commit_message = "{{ gitlab_commit_message }}"
|
||||
|
|
|
@ -40,7 +40,7 @@ class ListS3Automation(ListAutomation):
|
|||
key = "{{ list.filename }}"
|
||||
source = "{{ list.format }}.json"
|
||||
content_type = "application/json"
|
||||
etag = filemd5("{{ list.format }}.{{ list.encoding }}")
|
||||
etag = filemd5("{{ list.format }}.{{ list.pool.pool_name }}.{{ list.encoding }}")
|
||||
}
|
||||
{% endfor %}
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue