Skip to content

Fix the provider options relisting configuration - #936

Open
mihaelabalutoiu wants to merge 3 commits into
cloudbase:mainfrom
mihaelabalutoiu:fix-provider-options-relist
Open

mihaelabalutoiu wants to merge 3 commits into
cloudbase:mainfrom
mihaelabalutoiu:fix-provider-options-relist

Conversation

@mihaelabalutoiu

@mihaelabalutoiu mihaelabalutoiu commented Sep 8, 2026

Copy link
Copy Markdown
Member
  • Previously, changing the Stackit target project did not trigger a new destination options request, so the dropdowns kept the previous project's values.

  • Add an extraOptionsApiCalls entry for Stackit: availability_zone as its only prerequisite, and project in relistFields, since it scopes every resource the provider lists.

  • Also drop the relistFields configured for other providers that do not scope any other option.

Changing the target project did not re-list the destination options,
because Stackit had no `extraOptionsApiCalls` entry. `availability_zone`
is its only prerequisite, and `project` scopes every resource the
provider lists, so it belongs in `relistFields`.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
@mihaelabalutoiu
mihaelabalutoiu force-pushed the fix-provider-options-relist branch from 5f4bc37 to 30c5799 Compare September 9, 2026 09:35
@mihaelabalutoiu mihaelabalutoiu changed the title Fix options relisting when a required field is missing from the schema Fix the provider options relisting configuration Sep 9, 2026
Comment thread config.ts
Comment thread config.ts
Comment thread config.ts
Comment thread config.ts
Comment thread config.ts
mihaelabalutoiu and others added 2 commits September 14, 2026 09:52
`relistFields` is for optional fields the provider reads from the env to
scope the options it returns for other fields. The fields dropped here
do not, so changing them re-ran the options call for nothing.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
@mihaelabalutoiu
mihaelabalutoiu force-pushed the fix-provider-options-relist branch from 5d95da5 to 783fc6d Compare September 14, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants