【问题标题】:AWS glue cloud formation db creation errorAWS 胶水云形成数据库创建错误
【发布时间】:2020-05-26 01:28:30
【问题描述】:

我正在尝试使用云形成创建胶水数据库,但失败并出现以下错误。我错过了什么吗?

Property validation failure: [The property {/DatabaseInput} is required, The property {/CatalogId} is required]

这就是我的模板代码块的样子

GlueDatabase:
    Type: AWS::Glue::Database
    Properties: 
      CatalogId: !Ref AWS::AccountId 
      DatabaseInput: !Ref TeamName

【问题讨论】:

    标签: amazon-web-services amazon-cloudformation aws-glue


    【解决方案1】:

    根据docsDatabaseInput 应具有以下结构:

    GlueDatabase:
        Type: AWS::Glue::Database
        Properties: 
          CatalogId: !Ref AWS::AccountId 
          DatabaseInput: 
            Description: String
            LocationUri: String
            Name: String
            Parameters: Json      
    

    因此问题是,TeamName 在你的模板中是什么?

    【讨论】:

      猜你喜欢
      • 2020-01-11
      • 2016-10-27
      • 2012-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多