Skip to content

Docs: add Bicep and Terraform infrastructure guidance to azd ai CI/CD article #9865

Description

Documentation gap

The Microsoft Learn article Set up CI/CD for hosted agents with the Azure Developer CLI currently describes azd provision as creating or updating infrastructure from Bicep templates. It does not explain the equivalent CI/CD setup for Terraform or clearly distinguish the provider-specific requirements for azd ai projects.

Requested update

Add an Infrastructure as code section that:

  • Covers both Bicep and Terraform for azd ai hosted-agent projects.
  • Explains that Bicep is the default IaC provider and shows how Terraform is selected in azure.yaml:
    infra:
      provider: terraform
  • Documents the expected infra/ layout and the azd provision / azd deploy pipeline flow for each provider.
  • Explains Terraform's remote-state requirement before running azd pipeline config.
  • Covers non-interactive authentication and required variables or secrets for GitHub Actions and Azure Pipelines.
  • Includes provider-specific validation, environment promotion, rollback/recovery, and troubleshooting guidance.
  • Links to the existing Terraform with azd and azd CI/CD documentation.

Acceptance criteria

  • The hosted-agent CI/CD article has complete Bicep and Terraform paths.
  • Each path includes prerequisites, configuration, pipeline behavior, and troubleshooting.
  • GitHub Actions and Azure Pipelines are both covered.
  • A reader can configure an azd ai project and run its infrastructure deployment in CI/CD without relying on Bicep-only assumptions.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/bicepBicep-specific provisioningarea/public-docsPublic documentation (Microsoft Learn, etc.)area/terraformTerraform-specific provisioning

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions