github.com/hashicorp/packer@v1.14.3/command/test-fixtures/hcl2_upgrade/variables-with-variables/input.json (about)

     1  {
     2      "variables": {
     3          "aws_region": null,
     4          "aws_secondary_region": "{{ user `aws_region` }}",
     5          "aws_secret_key": "",
     6          "aws_access_key": "",
     7          "password": "{{ user `aws_secret_key` }}-{{ user `aws_access_key` }}"
     8      },
     9      "sensitive-variables": [
    10          "aws_secret_key",
    11          "aws_access_key",
    12          "password"
    13      ]
    14  }