Skip to contents

Check if a role exists

Usage

aws_role_exists(name)

Arguments

name

(character) the role name

Value

a single boolean

See also

Examples

if (FALSE) { # aws_has_creds()
aws_role_exists("AWSServiceRoleForRedshift")
aws_role_exists("NotARole")
}