iann0036 / AWSConsoleRecorder

Records actions made in the AWS Management Console and outputs the equivalent CLI/SDK commands and CloudFormation/Terraform templates.
MIT License
1.43k stars 86 forks source link

Add support for MSK #56

Open sumitag opened 4 years ago

sumitag commented 4 years ago

Is your feature request related to a problem? Please describe. I would like to capture the Terraform resource requests for creating a MSK cluster

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered Capture the browser network traffic and grab the JSON

Additional context JSON:

{
    "brokerNodeGroupInfo": {
        "clientSubnets": [
            "subnet-xxxxxxxxxxxxxxxxx",
            "subnet-xxxxxxxxxxxxxxxxx"
        ],
        "instanceType": "kafka.t3.small",
        "storageInfo": {
            "ebsStorageInfo": {
                "volumeSize": 30
            }
        },
        "securityGroups": [
            "sg-xxxxxxxxxxxxxxx"
        ]
    },
    "clusterName": "msk-tst",
    "encryptionInfo": {
        "encryptionInTransit": {
            "clientBroker": "TLS",
            "inCluster": true
        }
    },
    "kafkaVersion": "2.2.1",
    "numberOfBrokerNodes": 2,
    "enhancedMonitoring": "PER_TOPIC_PER_BROKER",
    "tags": {},
    "openMonitoring": {
        "prometheus": {
            "jmxExporter": {
                "enabledInBroker": false
            },
            "nodeExporter": {
                "enabledInBroker": false
            }
        }
    },
    "loggingInfo": {
        "brokerLogs": {
            "cloudWatchLogs": {
                "enabled": true,
                "logGroup": "msk-tst"
            },
            "firehose": {
                "enabled": false,
                "deliveryStream": ""
            },
            "s3": {
                "enabled": false,
                "bucket": "",
                "prefix": ""
            }
        }
    }
}
iann0036 commented 4 years ago

Apologies, I have very little time to add support in Console Recorder right now.

I'll happily review and merge pull requests for support if you add the information. Most of the SDK support uses the generator, however the CloudFormation / Terraform support is manual.

Alternatively, Former2 is maintained a bit better.