shalupov / idea-cloudformation

AWS CloudFormation plugin for IntelliJ-based IDEs (IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio, DataGrip, CLion)
https://teamcity.jetbrains.com/viewType.html?buildTypeId=IdeaAwsCloudFormation_Master_Build&guest=1
Apache License 2.0
136 stars 27 forks source link

Add new aws type #118

Closed nikita-sheremet-java-developer closed 6 years ago

nikita-sheremet-java-developer commented 6 years ago
  1. Open aws-resource-glue-crawler page.
  2. copy and paste crawler definition to yaml file in Intellij Idea:
    AWSTemplateFormatVersion: '2010-09-09'
    # Sample CloudFormation template in YAML to demonstrate creating a database named mysampledatabase
    # The metadata created in the Data Catalog points to the flights public S3 bucket
    #
    # Parameters section contains names that are substituted in the Resources section
    # These parameters are the names the resources created in the Data Catalog
    Parameters:
      CFNDatabaseName:
        Type: String
        Default: cfn-mysampledatabse

    # Resources section defines metadata for the Data Catalog
    Resources:
    # Create an AWS Glue database
      CFNDatabaseFlights:
        Type: AWS::Glue::Database
        Properties:
          # The database is created in the Data Catalog for your account
          CatalogId: !Ref AWS::AccountId   
          DatabaseInput:
            # The name of the database is defined in the Parameters section above
            Name: !Ref CFNDatabaseName  
            Description: Database to hold tables for flights data
            LocationUri: s3://crawler-public-us-east-1/flight/2016/csv/
            #Parameters: Leave AWS database parameters blank

The line Type: AWS::Glue::Database is marked as error with message:

Unknown CloudFormation resource type: AWS::Glue::Database
shalupov commented 6 years ago

fixed in 0.5.42