bicep icon indicating copy to clipboard operation
bicep copied to clipboard

Centralized bicepconfig.json within Bicep Registry

Open glloyd2010f opened this issue 5 years ago • 7 comments

When it comes to leveraging Bicep there will be use cases where a centralized team is creating the modules and other "turn key" resources. This way they can be consumed by developers locally or within their own pipelines. Having the ability to create a centralized bicepconfig.json which can be maintained and provided for best practice.

A great solution for this would be to host this within a Bicep Registry (Public or Private) and be able to reference to it. That way best practices can standardized there wouldn't be a need to have dozens of bicepconfig.json files in various repos.

Rough Example... ./bicepconfig.json > reference br:myRegistry:bicepconfig.json (singular or many) ./bicepconfig.json > can also have custom rules too (but can't conflict with any referenced bicepconfig.json files)

glloyd2010f avatar Aug 30 '21 13:08 glloyd2010f

In your situation, are there multiple repos or a single repo with multiple bicepconfig.json files?

majastrz avatar Aug 30 '21 20:08 majastrz

This would be a multiple repo scenario where developers are writing their own IaC.

glloyd2010f avatar Aug 30 '21 20:08 glloyd2010f

Do you happen to know of any other languages that are able to share config in this way? I think we'd want to see some precedent for this in other language ecosystems that we can learn from.

alex-frankel avatar Sep 01 '21 19:09 alex-frankel

Terraform modules would likely have the the closest, however theirs is directly related to modules and not configurations. Was putting this up as a discussion item to help reduce the burden on developers when they are required to create their own IaC pattern.

glloyd2010f avatar Nov 08 '21 21:11 glloyd2010f

Hi glloyd2010f, this issue has been marked as stale because it was labeled as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thanks for contributing to bicep! :smile: :mechanical_arm:

ghost avatar May 24 '23 04:05 ghost

Looks like this got closed out, however I never actually got an update on if this was going to be implemented.

glloyd2010f avatar Jun 16 '23 20:06 glloyd2010f

This got closed by mistake because we forgot to remove the "Awaiting Response" label. Re-opening.

alex-frankel avatar Jun 19 '23 21:06 alex-frankel