Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Development guide missing CONFIGURE_SUBSCRIPTION_INSTANCES #496

Open
dwrusse opened this issue Mar 19, 2022 · 2 comments
Open

Development guide missing CONFIGURE_SUBSCRIPTION_INSTANCES #496

dwrusse opened this issue Mar 19, 2022 · 2 comments

Comments

@dwrusse
Copy link

dwrusse commented Mar 19, 2022

Following the Azure Integration Development leads to an error when running yarn start because the CONFIGURE_SUBSCRIPTION_INSTANCES configuration parameter is missing.

@pshelton-skype
Copy link

We also see this in the Docker instructions:

D:\src\starbase>docker-compose run starbase setup
yarn run v1.22.17
$ ts-node ./src/index.ts setup
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
ERROR:  instanceConfigFields validation error(s) for graph-azure:   [
  {
    instancePath: '',
    schemaPath: '#/required',
    keyword: 'required',
    params: { missingProperty: 'CONFIGURE_SUBSCRIPTION_INSTANCES' },
    message: "must have required property 'CONFIGURE_SUBSCRIPTION_INSTANCES'"
  }
]
ERROR:  Configurations for 1 integration(s) failed validation tests.  Please correct above error messages and retry.
Done in 313.86s.

@pshelton-skype
Copy link

Looks like the variable was introduced in 3fee8be and controls whether to read a single subscription or a management group.

Since my use-case doesn't involve management groups, I set CONFIGURE_SUBSCRIPTION_INSTANCES: true in config.yaml and re-ran:

docker build -t starbase:latest . 
docker-compose run starbase setup

and seem to be back in business.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants