'resourceTypedParamsAndOutputs' | The template resource requires an API version #15744
Unanswered
Shinyshark1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am deploying an app service alongside two function apps. In order for the app service to work, it requires the url of the function apps. I am passing this along in the appSettings of the siteConfig.
In order to do this, I am using the experimental feature 'resourceTypedParamsAndOutputs'. I output the function app like so:
Then, in my main.bicep file I pass it along to the appService.bicep file:
And finally, I use it as shown below:
The nervexisAppServicePlan.id works fine, but when I try to reference the properties and retrieve the defaultHostName I get the following error:
As far as I'm aware, the API version is specified in the resource parameter. I am new to bicep, so I could be mistaken but after reading the part 2 proposal of this feature I still could not find how I am meant to use this feature.
Beta Was this translation helpful? Give feedback.
All reactions