Resource: aws_memorydb_acl

Provides a MemoryDB ACL.

More information about users and ACL-s can be found in the MemoryDB User Guide.

Example Usage

resource "aws_memorydb_acl" "example" {
  name       = "my-acl"
  user_names = ["my-user-1", "my-user-2"]
}

Argument Reference

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import an ACL using the name. For example:

import {
  to = aws_memorydb_acl.example
  id = "my-acl"
}

Using terraform import, import an ACL using the name. For example:

% terraform import aws_memorydb_acl.example my-acl