-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
Needs: Core Team π§This item needs the AVM Core Team to review itThis item needs the AVM Core Team to review itStatus: In Triage πPicked up for triaging by an AVM core team memberPicked up for triaging by an AVM core team memberType: Feature Request βNew feature or requestNew feature or requestType: Question/Feedback πFurther information is requested or just some feedbackFurther information is requested or just some feedback
Description
Check for previous/existing GitHub issues
- I have checked for previous/existing GitHub issues
Description
@Azure/avm-core-team-technical
Service groups are going to be the next big thing that customers use to group resources together to aggregate data for monitoring, cost and other purposes as defined here https://learn.microsoft.com/en-us/azure/governance/service-groups/overview#example-scenarios
We have module proposals for service groups as resource modules for both languages here:
- Bicep - [Module Proposal]:
avm/res/management/service-groupΒ #2323 - Terraform = [Module Proposal]:
avm-res-management-servicegroupΒ #2307
Proposal
What I am proposing here is that we add a new shared interface to all resource modules to allow all resources as this is an extension resource, like role assignments etc. as shown here: https://learn.microsoft.com/en-us/azure/governance/service-groups/create-service-group-member-rest-api#create-in-rest-api
Interface input code samples
Bicep
module storageAccount 'br/public:avm/res/storage/storage-account:0.26.2' = {
params: {
name: 'stgacc001'
serviceGroupTargetIds: [
'/providers/Microsoft.Management/serviceGroups/foo'
'/providers/Microsoft.Management/serviceGroups/bar'
]
}
}Terraform
module "avm-res-storage-storageaccount" {
source = "Azure/avm-res-storage-storageaccount/azurerm"
version = "0.6.4"
name = "stg-acc-001"
resource_group_name = "rsg-001"
location = "uksouth"
service_group_targets = {
"foo" = {
id = "/providers/Microsoft.Management/serviceGroups/foo"
},
"bar" = {
id = "/providers/Microsoft.Management/serviceGroups/bar"
}
}
}
cc: @hlokensgard for input also
AlexanderSehr
Metadata
Metadata
Assignees
Labels
Needs: Core Team π§This item needs the AVM Core Team to review itThis item needs the AVM Core Team to review itStatus: In Triage πPicked up for triaging by an AVM core team memberPicked up for triaging by an AVM core team memberType: Feature Request βNew feature or requestNew feature or requestType: Question/Feedback πFurther information is requested or just some feedbackFurther information is requested or just some feedback
Type
Projects
Status
Needs: Triage