common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
956 stars 90 forks source link

BaseProfile variable defined in config.yml for Profile Registries does not work #628

Open shwethaumashanker opened 3 months ago

shwethaumashanker commented 3 months ago

Enabling variable base profile in config.yml file does not work:

awsConfig:
  - ./dev/config1
template values:
  - BaseProfile:
    - value: "my-profile"

After the sync the profile still looks like:

[profile uat]
source_profile = {{ .Variables.BaseProfile}}
role_arn = arn:aws:iam::0123456789012:role/example