Skip to content

docs: Customize Azure resources has inaccurate docs #246

Closed

Description

The docs for customizing Azure resources seems to be outdated/incorrect in a bunch of places (hallucinated? 🥲 ):

  • AddAzureBicepResource doesn't exist, it's AddBicepTemplate and AddBicepTemplateString
  • Generated Bicep files don't exist in the AppHost directory, especially not under infra
  • David Fowler (@davidfowl) mentioned PrivateEndpoint might be made up too -- there could be others

To share some more context, I would love if these docs also showed:

  • How to pass ParameterResources and other kinds of parameters (like referencing another resource expression)
  • How to get the output from the Bicep resource to use elsewhere in the AppHost
  • How to get "resource IDs" or other outputs from other Azure resources to pass in as parameters
  • How to handle existing in the Bicep file

The samples do show most of this, so that's what I referenced (but this isn't linked from the docs, either):

https://github.com/dotnet/aspire/tree/main/playground/bicep

Activity

  1. IEvangelist commented on Jun 2, 2026

    @IEvangelist
    Member

    Triage → David Pine (@IEvangelist)

    Reporter (who authored docs around customizing Azure resources) flags multiple hallucinated APIs:

    • AddAzureBicepResource doesn't exist — it's AddBicepTemplate / AddBicepTemplateString.
    • Generated Bicep files don't live under infra/ in the AppHost dir.
    • PrivateEndpoint may also be fabricated.

    This needs a full audit pass, not a single edit. Same theme as #1074 / #1092 (hallucinated AsExisting() on non-Azure builders). Should be done by a human against the actual Aspire.Hosting.Azure source rather than re-prompted to a model. Risk of compounding hallucination if delegated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions