Skip to content

Add missing instructions for terraform two-phase pre deploy check - #2138

Merged
JasonYeMSFT (JasonYeMSFT) merged 3 commits into
microsoft:mainfrom
JasonYeMSFT:chuye/terraform-two-phase
May 2, 2026
Merged

Add missing instructions for terraform two-phase pre deploy check#2138
JasonYeMSFT (JasonYeMSFT) merged 3 commits into
microsoft:mainfrom
JasonYeMSFT:chuye/terraform-two-phase

Conversation

@JasonYeMSFT

Copy link
Copy Markdown
Member

Description

Add instructions to fill the gap of missing those for terraform two-phase container app pre deploy check.

Checklist

  • Tests pass locally (cd tests && npm test)
  • If modifying skill descriptions: verified routing correctness with integration tests (npm run test:skills:integration -- <skill>)
  • If modifying skill USE FOR / DO NOT USE FOR / PREFER OVER clauses: confirmed no routing regressions for competing skills

Related Issues

resolves: #2134

Co-authored-by: Copilot <copilot@github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds missing Terraform guidance to the azure-deploy pre-deploy checklist so the two-phase Container Apps + ACR deployment pattern (and RBAC propagation gate) is documented for both Bicep and Terraform paths.

Changes:

  • Updates the Container Apps + ACR RBAC pre-deploy callout to include terraform apply as a Phase 1 alternative.
  • Adds a “Two-phase Terraform pattern” explanation alongside the existing Bicep pattern.
Show a summary per file
File Description
plugin/skills/azure-deploy/references/pre-deploy-checklist.md Expands the two-phase Container Apps + ACR RBAC health check guidance to cover Terraform provisioning and post-apply deployment steps.

Copilot's findings

Comments suppressed due to low confidence (1)

plugin/skills/azure-deploy/references/pre-deploy-checklist.md:288

  • The “Required flow for this scenario” steps currently only describe the azd provision → health check → azd deploy path. Since this section now documents terraform apply (and a manual CLI deploy path), the flow should be expanded to cover those alternatives; otherwise the section contradicts itself for Terraform users.
**Required flow for this scenario:**
1. Run `azd provision`
2. Complete the RBAC health check in this section
3. Run `azd deploy`
  • Files reviewed: 1/1 changed files
  • Comments generated: 3

Comment thread plugin/skills/azure-deploy/references/pre-deploy-checklist.md Outdated
Comment thread plugin/skills/azure-deploy/references/pre-deploy-checklist.md Outdated
Comment thread plugin/skills/azure-deploy/references/pre-deploy-checklist.md Outdated

@jongio Jon Gallant (jongio) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Terraform pattern description is technically clear. One gap: the "Required flow for this scenario" steps still only describe the azd path, so Terraform users don't get explicit step-by-step guidance despite the pattern block above.

Comment thread plugin/skills/azure-deploy/references/pre-deploy-checklist.md Outdated
Co-authored-by: Copilot <copilot@github.com>
@JasonYeMSFT

Copy link
Copy Markdown
Member Author

Comment thread plugin/skills/azure-deploy/references/pre-deploy-checklist.md
Co-authored-by: Copilot <copilot@github.com>
@JasonYeMSFT
JasonYeMSFT (JasonYeMSFT) merged commit 71fb132 into microsoft:main May 2, 2026
12 checks passed
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.

Enhance two-phase container app deployment instructions with terraform

4 participants