exoscale_iam_role (Resource)
Manage Exoscale IAM Role.
Schema
Required
name
(String) ❗Name of IAM Role.
Optional
description
(String) A free-form text describing the IAM Roleeditable
(Boolean) Defines if IAM Role Policy is editable or not.labels
(Map of String) IAM Role labels.permissions
(List of String) IAM Role permissions.policy
(Attributes) IAM Policy. (see below for nested schema)timeouts
(Block, Optional) (see below for nested schema)
Read-Only
id
(String) The ID of this resource.
Nested Schema for policy
Optional:
default_service_strategy
(String) Default service strategy (allow
ordeny
).services
(Attributes Map) IAM policy services. (see below for nested schema)
Nested Schema for policy.services
Optional:
rules
(Attributes List) List of IAM service rules (if type isrules
). (see below for nested schema)type
(String) Service type (rules
,allow
, ordeny
).
Nested Schema for policy.services.rules
Optional:
action
(String) IAM policy rule action (allow
ordeny
).expression
(String) IAM policy rule expression.resources
(List of String, Deprecated)
Nested Schema for timeouts
Optional:
read
(String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as “30s” or “2h45m”. Valid time units are “s” (seconds), “m” (minutes), “h” (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
-> The symbol ❗ in an attribute indicates that modifying it, will force the creation of a new resource.