Private Deployment Script unexpected SubnetId error #13029
Unanswered
johnlokerse
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
-
Hi all,
A while back, I created a snippet to illustrate the concept of private deployment scripts. This snippet functioned well at the time. However, when I revisited it today, it generated an error that I couldn’t understand:
This is the snippet I am working with (click here for the full Bicep template):
The error is thrown at the
id
property in thesubnetIds
array undercontainerSettings
. At first glance, the error seems obvious, so I double-checked if the id was empty. To confirm this, I created an output, but it shows the correct id.If I place the output of
outContainerSubnetId
as a hardcoded string in thesubnetIds
array property it goes through validation and deploys correctly. However, the Bicep extension requests a symbolic resource reference:Other solutions
I have tried other ways to see if it works or not:
What am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions