Problem
azd ai agent init --infra=terraform does not include azure.ai.connection services from azure.yaml in the generated Terraform infrastructure.
As a result, a project using Terraform eject provisions the Foundry account and project but omits declared Foundry project connections.
Repro
-
Create an azure.yaml with an azure.ai.project service and an azure.ai.connection service.
-
Run:
azd ai agent init --infra=terraform
azd provision --no-prompt
-
Inspect generated infra/ files and the resulting Foundry project.
Expected
- Terraform eject generates resources for declared project connections.
- azd provision creates those connections under the Foundry project.
- Connection category, target, authentication type, credentials, and metadata
are preserved.
- Provision outputs expose the created connection names.
Actual
- No Terraform resource is generated for azure.ai.connection services.
- The Foundry project is provisioned without its declared connection
Related
#8350
#9046
Problem
azd ai agent init --infra=terraformdoes not includeazure.ai.connectionservices fromazure.yamlin the generated Terraform infrastructure.As a result, a project using Terraform eject provisions the Foundry account and project but omits declared Foundry project connections.
Repro
Create an
azure.yamlwith anazure.ai.projectservice and anazure.ai.connectionservice.Run:
Inspect generated infra/ files and the resulting Foundry project.
Expected
are preserved.
Actual
Related
#8350
#9046