My Workflow
Using Helmfile (v0.167.1 and v1.3.2), I have the following AWS SecretsManager vals ref:
mysecret: ref+awssecrets://mysecret?profile=dev
I have 2 types of users
- Uses
helmfile on a non-EC2 instance. They have a configured ~/.aws/config with the dev profile.
- Uses
helmfile on an EC2 instance. They do not have ~/.aws/config,and instead rely on their instance's IAM role.
Problem
I recently upgraded from Helmfile v0.167.1 (vals v0.37.3) to v1.3.2 (vals v0.43.5). Suddenly my EC2-based users could no longer template/sync their helmfiles, since the dev profile isn't defined on their machines
panic: failed to get shared config profile, dev
With the older version, it appears that it would automatically fall back to the instance's ambient credentials if the specified profile could not be found. Is there a method to achieve this same behavior in newer versions?
One work around I'm aware of is that my EC2 users can define an empty dev profile by creating an ~/.aws/config with
However, it would be nice to avoid requiring my users to change their local environments.
My Workflow
Using Helmfile (v0.167.1 and v1.3.2), I have the following AWS SecretsManager vals ref:
I have 2 types of users
helmfileon a non-EC2 instance. They have a configured~/.aws/configwith thedevprofile.helmfileon an EC2 instance. They do not have~/.aws/config,and instead rely on their instance's IAM role.Problem
I recently upgraded from Helmfile v0.167.1 (vals v0.37.3) to v1.3.2 (vals v0.43.5). Suddenly my EC2-based users could no longer template/sync their helmfiles, since the
devprofile isn't defined on their machinesWith the older version, it appears that it would automatically fall back to the instance's ambient credentials if the specified profile could not be found. Is there a method to achieve this same behavior in newer versions?
One work around I'm aware of is that my EC2 users can define an empty dev profile by creating an
~/.aws/configwithHowever, it would be nice to avoid requiring my users to change their local environments.