davidski / vulnpryer-aws-orchestration

🎯☁️Automated deployment of a VulnPryer pipline on AWS
http://vulnpryer.net
2 stars 2 forks source link

Adding an attribute to the OpsWork stack definition #10

Closed davidski closed 9 years ago

davidski commented 9 years ago

The deploy script doesn't add a color attribute to the stack, making this look different than other stacks created via the console. I tried to add attributes=['Color'='rgb(45,114,184)']) to the create_stack but that seems to be an invalid python syntax. What would a valid syntax look like to add in this attribute?

This is definitely a small item. Not having the stacks look consistent just grates. :wink:

abbyyacat commented 9 years ago

You can change from attributes=['Color'='rgb(45,114,184)']) to attributes={'Color': 'rgb(135, 61, 98)'}.

Please take note of valid values: Attributes - Color: valid values - rgb(135, 61, 98), rgb(111, 86, 163), rgb(45, 114, 184), rgb(38, 146, 168), rgb(57, 131, 94), rgb(100, 131, 57), rgb(184, 133, 46), rgb(209, 105, 41), rgb(186, 65, 50)'

davidski commented 9 years ago

Ah. It's a regular dict object. Thanks!