Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Add support for CloudFormation Parameters #220

Closed
smithhannahm opened this issue Sep 10, 2019 · 5 comments
Closed

Add support for CloudFormation Parameters #220

smithhannahm opened this issue Sep 10, 2019 · 5 comments

Comments

@smithhannahm
Copy link

There isn't any out of the box support for creating template parameters. This is somewhat easily worked around by creating a local parameter struct, but it would be nice to have that included in the package.

type parameter struct {
	Type                  string   `json:"Type"`
	Description           string   `json:"Description,omitempty"`
	Default               string   `json:"Default,omitempty"`
	AllowedPattern        string   `json:"AllowedPattern,omitempty"`
	AllowedValues         []string `json:"AllowedValues,omitempty"`
	ConstraintDescription string   `json:"ConstraintDescription,omitempty"`
	MaxLength             int      `json:"MaxLength,omitempty"`
	MinLength             int      `json:"MinLength,omitempty"`
	MaxValue              float64  `json:"MaxValue,omitempty"`
	MinValue              float64  `json:"MinValue,omitempty"`
	NoEcho                bool     `json:"NoEcho,omitempty"`
}
@PaulMaddox
Copy link
Contributor

Hi - do you want to create a PR for this? I agree it would be good to have.

@th3noname
Copy link
Contributor

th3noname commented Jan 17, 2020

I went ahead and created a PR for this, since i would like to have this too.

@xrn
Copy link
Contributor

xrn commented Feb 13, 2020

@PaulMaddox this issue can be probably closed :)

@xrn
Copy link
Contributor

xrn commented Jul 22, 2020

@PaulMaddox I am reviewing issues again and IMO it can be closed as solved in PR #259 :)

@PaulMaddox
Copy link
Contributor

Thanks all :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants