Skip to content

Looping properties that are varying types of objects #1906

Answered by majastrz
joelmforsyth asked this question in Q&A
Discussion options

You must be logged in to vote

Once we have variable loops in Bicep (#1814), would you be able to construct two array variables with [for...] called copyActivities and deleteActivities? Then in the pipeline, could you do the following:

activities: [
  copyActivities[i]
  deleteActivities[i]
]

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@joelmforsyth
Comment options

@alex-frankel
Comment options

@brwilkinson
Comment options

@joelmforsyth
Comment options

@brwilkinson
Comment options

Answer selected by joelmforsyth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants