Using this resource can create SecurityCenter service-linked role : AliyunServiceRolePolicyForSas
. This Role is a Resource Access Management (RAM) role, which to obtain permissions to access another Alibaba Cloud service.
For information about Security Center Service Role and how to use it, see What is Security Center.
Basic Usage
resource "alicloud_security_center_service_linked_role" "service_linked_role" {
}
The following attributes are exported:
id
- The ID of the DataSource. The value is same as product_name
. Valid Value: AliyunServiceRolePolicyForSas
.status
- The status of the service Associated role. Valid Values: true
: Created. false
: not created.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 1 mins) Used when create the Slr.delete
- (Defaults to 1 mins, Available in 1.163.0+.) Used when delete the Slr.SecurityCenter service-linked roles(SLR) can be imported using the id, e.g.
$ terraform import alicloud_security_center_service_linked_role.example <product_name>