ec2-delete-group From Amazon Elastic Compute Cloud: 2008-12-01 previous page next page ec2-delete-groupSyntax ec2-delete-group group Description Deletes the specified security group. Note If you attempt to delete a security group that contains instances, a fault is returned.If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.OptionsOptionDescriptionRequiredgroupName of the security group. Example: webservers YesOutput Amazon EC2 returns a table that contains the following information: Output type identifier ("GROUP")Name of the deleted security group Amazon EC2 displays errors on stderr. ExampleThis command deletes the websrv security group.PROMPT> ec2-delete-group websrv GROUP websrvRelated Topics DeleteSecurityGroup ec2-add-group ec2-describe-group ec2-authorize ec2-revoke previous page start next page