GuideReference
TrainingSupportCommunity
Guide

Role

akamai_iam_role

Create, update, or delete roles for your users.

📘

To delete a role, use terraform destroy.

resource "akamai_iam_role" "my_role" {
    name           = "View Only"
    description    = "This role will allow you view all reports."
    granted_roles  = [123]
}

Arguments

ArgumentRequiredDescription
name✔️A name for your new role.
description✔️A description of the role.
granted_roles✔️A set of the roles given to a user by ID.

Attributes

There is no default standard output. Upon creation, the last line of the process log contains your role's ID.

akamai_iam_role.my_role: Creation complete after 29s [id=12345]