You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run "Make auth" for a second environment (the same tenant, different subsripton), Azure Credentials from the previous authorisation are being replaced.
Steps to reproduce the behavior:
Fork and clone repository to the local machine, open in VS Code
Create dev and prod environments in Github
Update flowERHID in config.yaml file
Create config.local.file ,set environment dev.
Run Make auth in VS Code, save credentials to Github environment secrets
Update config.local.yaml file - set environment: prod
Run Make auth in VS Code,
At this point application registration is overriden instead of creating new one.
Can the logic be changed here, default name sp-flowehr-ci-${var.flowehr_id} in Auth/main.tf file be made dynamic (including environment name) and allowed multiple times without removing tfstate file for Auth terraform?
The text was updated successfully, but these errors were encountered:
The flowehr_id is set in the config.yaml. Would setting this to something else in your config.ENV.yaml file be the solution?
Each environment has its own .yaml config, and the flowehr_id can be defined for the environment (e.g. it is set to sample in config.sample.yaml).
In your example, where you reuse the same config file but change the environment name only, you'll use the same id (from the root config.yaml) and so I'd expect that to hit issues if you re-run make auth.
When I run "Make auth" for a second environment (the same tenant, different subsripton), Azure Credentials from the previous authorisation are being replaced.
Steps to reproduce the behavior:
dev
.Make auth
in VS Code, save credentials to Github environment secretsprod
Make auth
in VS Code,At this point application registration is overriden instead of creating new one.
Can the logic be changed here, default name
sp-flowehr-ci-${var.flowehr_id}
in Auth/main.tf file be made dynamic (including environment name) and allowed multiple times without removing tfstate file for Auth terraform?The text was updated successfully, but these errors were encountered: