Context
Follow-up from PR #7053 review. Parent tracking issue: #7112
PR Conversations
What needs to change
- Evaluate whether the parsed
SnapshotResource struct or a simple map[string]any is the better approach for representing snapshot resources.
- Concern: providing multiple ways of exposing data (struct + raw JSON) may make it harder to add helpful features later.
- Consider implications for provider-agnostic snapshots discussion.
- Also consider whether metadata (e.g., expected quota decorations on params) survives through bicep snapshot — this may drive need for alternative approaches in the future.
Note: Keep current approach for now. Revisit after adding more validation rules to gain experience on what works well.
Files to update
cli/azd/pkg/infra/provisioning/bicep/local_preflight.go (SnapshotResource type)
Context
Follow-up from PR #7053 review. Parent tracking issue: #7112
PR Conversations
What needs to change
SnapshotResourcestruct or a simplemap[string]anyis the better approach for representing snapshot resources.Note: Keep current approach for now. Revisit after adding more validation rules to gain experience on what works well.
Files to update
cli/azd/pkg/infra/provisioning/bicep/local_preflight.go(SnapshotResource type)