stacker icon indicating copy to clipboard operation
stacker copied to clipboard

Add support for specifying variable types using named parameter types

Open ejholmes opened this issue 7 years ago • 0 comments

Closes https://github.com/remind101/stacker/issues/546

This just makes it a little easier to use CFNType's, by just specifying the name of the type you want for the parameter. The following now works:

VARIABLES = {
    "VpcId": {
        "type": "AWS::EC2::VPC::Id"
    }   
}

And it'll be automatically normalized to:

VARIABLES = {
    "VpcId": {
        "type": EC2VPCId
    }
}

ejholmes avatar Mar 01 '18 07:03 ejholmes