Skip to content

Commit cb77199

Browse files
author
Cecile Robert-Michon
committed
Create resource group with custom user tags
1 parent b06af49 commit cb77199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure/services/groups/spec.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ func (s *GroupSpec) Parameters(existing interface{}) (params interface{}, err er
5656
}
5757
return resources.Group{
5858
Location: to.StringPtr(s.Location),
59-
// We create only CAPZ default tags. User defined additional tags
60-
// are created and updated using tags service.
59+
// User defined additional tags are created with the resource group and updated using tags service.
6160
Tags: converters.TagsToMap(infrav1.Build(infrav1.BuildParams{
6261
ClusterName: s.ClusterName,
6362
Lifecycle: infrav1.ResourceLifecycleOwned,
6463
Name: to.StringPtr(s.Name),
6564
Role: to.StringPtr(infrav1.CommonRole),
65+
Additional: s.AdditionalTags,
6666
})),
6767
}, nil
6868
}

0 commit comments

Comments
 (0)