Skip to content

Application.yml template should ignore values that are in an environment it's not creating #159

Description

@samsonasu
# application.yml.template
MY_SECRET: {{MY_SECRET}}

production: 
  PROD_ONLY: {{PROD_ONLY}}

dev:
  DEV_ONLY: {{DEV_ONLY}}
# vars/dev.yml
MY_SECRET: some_secret_value
DEV_ONLY: other_secrete_value

if you run subspace vars dev --create this will fail because the template references PROD_ONLY which isn't present in vars/dev.yml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions