alibaba / funcraft

(have) Fun with Serverless(API Gateway & Function Compute)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

创建 Logstore 失败

beary opened this issue · comments

commented

已经给了 AliyunLogFullAccess 权限,然而 deploy 报错。
阿里云控制台出现了 test-aliyun-log-project ,但里面是空的,没有 test-log-store

# template.yml
ROSTemplateFormatVersion: '2015-09-01'
Transform: Aliyun::Serverless-2018-04-03
Resources:
  test-aliyun-log-project:
    Type: 'Aliyun::Serverless::Log'
    Properties:
      Description: 'just test log'
    test-log-store:
      Type: 'Aliyun::Serverless::Log::Logstore'
      Properties:
        TTL: 10
        ShardCount: 1
(base) ~/.../javascript/fun-demo >>> fun deploy -y                             [255]
using template: template.yml
using region: cn-hangzhou
using accountId: ***********5626
using accessKeyId: ***********pQ4o
using timeout: 10

Collecting your services information, in order to caculate devlopment changes...
Waiting for log service project test-aliyun-log-project to be deployed...
        Waiting for log service logstore test-log-store to be deployed...
                retry 1 times
                retry 2 times
                retry 3 times
                retry 4 times
project test-aliyun-log-project has been forbidden