pets-workshop icon indicating copy to clipboard operation
pets-workshop copied to clipboard

build(main.bicep): fix: 'containerapps' 'cpu' expects 'int | null'

Open lloydchang opened this issue 2 years ago • 1 comments

Bicep doesn't support float; need to wrap 0.5 inside of json function. https://github.com/Azure/bicep/issues/5993#issuecomment-1043170716 https://github.com/Azure/bicep/issues/1386

lloydchang avatar Oct 23 '23 02:10 lloydchang

Relates to #10, #11, and #12.

lloydchang avatar Oct 23 '23 02:10 lloydchang

Thanks @GeekTrainer for updating the status.

Question: Without merging this bug fix, does this mean the bug is already fixed on the Azure side?

lloydchang avatar Mar 25 '25 18:03 lloydchang

P.S. I may be answering my own question. It seems that the bug hasn't been fixed on the Azure side.

After skimming https://github.com/github-samples/pets-workshop/pull/87 in which main.bicep is deleted, I think this is closed in favor of a shorter workshop without the usage of Bicep at all.

lloydchang avatar Mar 25 '25 19:03 lloydchang