Azure / Azure/bicep-types-az

[Microsoft.App/containerApps@2023-05-01]: The property "cpu" expected a value of type "int | null" but the provided value is of type "'0.25'"

Open
#2,114 1 comment 2 reactions 0 assignees View on GitHub
ContainerApp Service Attention
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

### Resource Type

Microsoft.App/containerApps

### Api Version

2023-05-01

### Issue Type

Inaccurate property type(s)

### Other Notes

The CPU property accepts "string" not "int" as a value ike 0.25 is valid.

### Bicep Repro

_No response_

### Confirm

- [X] I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the report. Start by locating the Microsoft.App/containerApps type definition for API version 2023-05-01 and inspect the cpu property; verify how its declared type handles the reported 0.25 value. Done means the definition accepts the documented CPU value without the inaccurate int error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.