alicloud_ecs_ram_role_attachmentNivis Nix constructor for the alicloud_ecs_ram_role_attachment resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
instance_id,
ram_role_name,
id ? null,
policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
instance_idram_role_name
Optional arguments
id(defaults tonull)policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
alicloud_ecs_ram_role_attachment {
name = "ecs_ram_role_attachment";
instance_id = …; # required
ram_role_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.