Hi,
I’m trying to use packer with the “profile” variable (without needing to supply static access keys) which I am configuring using the aws configure sso
command - but when trying to run the packer command I get the error:
Error: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
in my packer variables.json I have "aws_profile": "sandbox"
and in my environment.json I have
"builders": [
{
"type": "amazon-ebs",
"profile": "{{user `aws_profile`}}"
Am I missing something or is it not possible to do this?