Skip to contents

Check if a group exists

Usage

aws_group_exists(name)

Arguments

name

(character) the group name

Value

a single boolean

Details

uses aws_group internally. see docs https://www.paws-r-sdk.com/docs/iam_get_group/

Examples

if (FALSE) { # aws_has_creds()
aws_group_create("apples")
aws_group_exists("apples")
aws_group_exists("doesnotexist")
# cleanup
aws_group_delete("apples")
}