awslabs / aws-icons-for-plantuml

PlantUML sprites, macros, and other includes for Amazon Web Services services and resources
Other
887 stars 149 forks source link

SecurityGroup puml doesnot work #51

Closed guneshsji closed 1 year ago

guneshsji commented 1 year ago

Its icon is also missing https://github.com/awslabs/aws-icons-for-plantuml/blob/c2a8677c8cf61464786ad6dc71a74616cf787f29/AWSSymbols.md

code i tried: !include AWSPuml/Groups/SecurityGroup.puml SecurityGroup('SecurityGroup', 'Security Group', 'an optional tech label') { note as note the content of the group end note }

hakanson commented 1 year ago

The Security Group is one of a few groups without an icon (also Generic Group and Availability Zone Group).

Groups - all.puml has code examples using all the groups. The macro is actually named SecurityGroupGroup since I appended Group to every group.

The code below is an update to what you tried

@startuml Issue 51

!define AWSPuml https://raw.githubusercontent.com/awslabs/aws-icons-for-plantuml/v14.0/dist
!include AWSPuml/AWSCommon.puml
!include AWSPuml/Groups/SecurityGroup.puml

SecurityGroupGroup(sg)  {
  note as note
    the content of the group
  end note
}

@enduml