Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/terraform/vars/main.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 # Terraform version that will be downloaded
7 terraform_version: 1.1.7
8
9 # Architecture of the downloaded Terraform release (needs to match target testing platform)
10
11 terraform_arch: "{{ ansible_facts.system | lower }}_{{terraform_arch_map[ansible_facts.architecture] }}"
12
13 # URL of where the Terraform binary will be downloaded from
14 terraform_url: "https://releases.hashicorp.com/terraform/{{ terraform_version }}/terraform_{{ terraform_version }}_{{ terraform_arch }}.zip"
15
16 # Controls whether the unarchive task will validate TLS certs of the Terraform binary host
17 validate_certs: true
18
19 # Directory where Terraform tests will be created
20 terraform_project_dir: "{{ remote_tmp_dir }}/tf_provider_test"
21
22 # Controls whether terraform init will use the `-upgrade` flag
23 terraform_provider_upgrade: true
24
25 # list of dicts containing Terraform providers that will be tested
26 # The null provider is a good candidate, as it's small and has no external dependencies
27 terraform_provider_versions:
28 - name: "null"
29 source: "hashicorp/null"
30 version: ">=2.0.0, < 3.0.0"
31 - name: "null"
32 source: "hashicorp/null"
33 version: ">=3.0.0"
34
35 # mapping between values returned from ansible_facts.architecture and arch names used by golang builds of Terraform
36 # see https://www.terraform.io/downloads
37
38 terraform_arch_map:
39 x86_64: amd64
40 arm64: arm64