我这边使用公司的RAM账号进行函数开发,但是发布的时候提示 [WARN] [FC-DEPLOY] - Reminder remote service: error is: GET /services/carboncalc failed with 403. requestid: 87e3bfe0-00aa-4425-9b8a-6aea5578a2c6, message: the caller is not authorized to perform 'fc:GetService' on resource 'acs:fc:cn-beijing:1740901926948505:services/carboncalc'.(Fc will use local config.) [2022-10-10 11:12:42] [WARN] [FC-DEPLOY] - Reminder remote function: error is: GET /services/carboncalc failed with 403. requestid: f18b841f-afeb-40e8-9db3-24c00e0e5692, message: the caller is not authorized to perform 'fc:GetService' on resource 'acs:fc:cn-beijing:1740901926948505:services/carboncalc'.(Fc will use local config.)
ERROR:
POST /services failed with 403. requestid: 2a6d4740-dd4c-4cd8-9c15-1f6e98c255a7, message: the caller is not authorized to perform 'fc:CreateService' on resource 'acs:fc:cn-beijing:1740901926948505:services/carboncalc' with condition '[fc:EnableServiceInternetAccess=unknown, fc:EnableServiceSLSLogging=false]'.
TraceId: 000c292d32281665371548302 请问我该怎么处理呢
需要给 ram 用户授权,获取 fc service 权限。建议直接授权 FCFullAccess
此答案来自钉钉群“Serverless 开发者技术学习群”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。