Hi @All,
JSON variables , env variables not able to access. packer version latest
{
“variables”: {
“ssh_pkf”:“${env.PKR_VAR_SSH_PKEY}”
}
}
when validate using packer validate , im facing issue
Error: Variables not allowed
on variables.pkr.json line 3, in variables:
3: “ssh_pkf”:“${env.PKR_VAR_SSH_PKEY}”,
Variables may not be used here.
Any solution would be helpful.