如何解决AWS EFS 的访问点
我正在尝试为现有 EFS 之一创建访问点。
创建接入点后,我想将其安装在 lambda 函数上。
---
AWSTemplateFormatVersion: '2010-09-09'
Description: "EFS ccess point cloudformation"
Resources:
AccessPointResources:
Type: AWS::EFS::AccessPoint
Properties:
FileSystemId: Fs-xxx
PosixUser:
Uid: "0"
Gid: "0"
RootDirectory:
Path: "/myefs"
以下是我在部署 cloudformation 时遇到的错误。请指出我在这里遗漏了什么
Model validation failed
/RootDirectorty/CreationInfo 3 schema violation found
/RootDirectorty/CreationInfo required [OwnerGid] not found
/RootDirectorty/CreationInfo required [OwnerUid] not found
/RootDirectorty/CreationInfo [permission] not found
解决方法
您必须提供 CreationInfo。你可以试试:
Resources:
AccessPointResources:
Type: AWS::EFS::AccessPoint
Properties:
FileSystemId: Fs-xxx
PosixUser:
Uid: "0"
Gid: "0"
RootDirectory:
CreationInfo:
OwnerGid: "708798"
OwnerUid: "7987987"
Permissions: "0755"
Path: "/myefs"
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。