Definitions where? #509
-
Followed the quick start guide, set environment variables both in Windows 10 GUI and in PS 7 terminal in VS Code. Tried both by setting up my input/output/definitions folders ahead of time and designating the path with -DefinitionsRootFolder and by using the Quickstart instructions and just leaving it as "New-EPACDefinitionFolder -DefinitionsRootFolder Definitions" In both cases, functions were successfully exported - but I have no clue where it stuck the global-settings.json file to edit and move on in the setup process. I've tried searching both for a new Definitions folder on all drives, and searching for global-settings.json and ruled out files with a similar name used by other programs. Anyone know where global-settings.json should actually be located? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you have successfully cloned the repo (or your fork of the repo as the instructions say), you should be able to find the global-settings.jsonc file in the StarterKit > Definitions folder (https://github.com/Azure/enterprise-azure-policy-as-code/tree/main/StarterKit/Definitions). You can then copy the Definitions folder out of the StarterKit such that you have the Definitions folder on the same level as Pipelines, Scripts, etc. and obviously alter whatever you wish to alter within the Definitions folder after doing so. |
Beta Was this translation helpful? Give feedback.
If you have successfully cloned the repo (or your fork of the repo as the instructions say), you should be able to find the global-settings.jsonc file in the StarterKit > Definitions folder (https://github.com/Azure/enterprise-azure-policy-as-code/tree/main/StarterKit/Definitions). You can then copy the Definitions folder out of the StarterKit such that you have the Definitions folder on the same level as Pipelines, Scripts, etc. and obviously alter whatever you wish to alter within the Definitions folder after doing so.