Skip to content

9.5.1 Regression from 9.4.1 with Keycloak #11966

@RudyCo

Description

@RudyCo

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I tried to upgrade the excellent Keycloak Blueprint created by @julioct from Aspire 9.4.1 to 9.5.1.

For Keycloak, I changed the version to
<PackageReference Include="Aspire.Hosting.Keycloak" Version="9.5.1-preview.1.25502.11" />

Any idea about what's wrong with 9.5.1?
Thanks in advance!

PS: Here is the output after azd up or azd provision

ERROR: error executing step command 'provision': initializing provisioning manager: failed to compile bicep template: failed running bicep build: exit code: 1, stdout: , stderr: C:\Users\rudyco\AppData\Local\Temp\azd-infra3768110317\cae\cae.module.bicep(4,7) : Warning no-unused-params: Parameter "userPrincipalId" is declared but never used. [https://aka.ms/bicep/linter-diagnostics#no-unused-params]
C:\Users\rudyco\AppData\Local\Temp\azd-infra3768110317\postgres\postgres.module.bicep(92,8) : Error BCP353: The outputs "hostName", "hostname" differ only in casing. The ARM deployments engine is not case sensitive and will not be able to distinguish between them. [https://aka.ms/bicep/core-diagnostics#BCP353]
C:\Users\rudyco\AppData\Local\Temp\azd-infra3768110317\postgres\postgres.module.bicep(94,8) : Error BCP353: The outputs "hostName", "hostname" differ only in casing. The ARM deployments engine is not case sensitive and will not be able to distinguish between them. [https://aka.ms/bicep/core-diagnostics#BCP353]
C:\Users\rudyco\AppData\Local\Temp\azd-infra3768110317\templateapp-api-roles-postgres-kv\templateapp-api-roles-postgres-kv.module.bicep(2,7) : Warning no-unused-params: Parameter "location" is declared but never used. [https://aka.ms/bicep/linter-diagnostics#no-unused-params]
C:\Users\rudyco\AppData\Local\Temp\azd-infra3768110317\main.bicep(16,7) : Warning no-unused-params: Parameter "KeycloakPassword" is declared but never used. [https://aka.ms/bicep/linter-diagnostics#no-unused-params]
C:\Users\rudyco\AppData\Local\Temp\azd-infra3768110317\main.bicep(39,17) : Error BCP104: The referenced module has errors. [https://aka.ms/bicep/core-diagnostics#BCP104]

Expected Behavior

No issue to deploy to Azure.

Steps To Reproduce

Download the Blueprint (link above).
Upgrade all the Aspire packages to 9.5.1 (preview for Keycloak)

Exceptions (if any)

See output logs.

.NET Version info

9.x

Anything else?

Maybe related to these PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-integrationsIssues pertaining to Aspire Integrations packages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions