Azure / Azure/bicep

var to ref git sha1 or version info in becep

Open
#13,037 5 comments 1 reaction 0 assignees View on GitHub
enhancement Needs: Upvote
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 2h
Merged PRs (30d)
79

Description

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

```
var ver = deployment().properties.cvsver

resource xxx xxx = {
name: '{xxx$ver}
}
```

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

add version info into ` deployment()` or some other build time/runtime obj

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing deployment() entry point and how resource declarations resolve interpolated values such as {xxx$ver}. Determine where build-time or runtime version information could be exposed, then verify that a Git SHA1 or version can be used in a resource name as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.