troposphere icon indicating copy to clipboard operation
troposphere copied to clipboard

AWS Control Tower CloudFormation spec does not match docs

Open jvdmr opened this issue 6 months ago • 0 comments

EnabledControl.EnabledControlParameter Value type according to docs is 'array, string, number, object, or boolean', but the spec simply states 'Json', which does not allow the values required.

https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-controltower-enabledcontrol-enabledcontrolparameter.html#cfn-controltower-enabledcontrol-enabledcontrolparameter-value

EnabledBaseline.Parameter Value type according to docs is String, but the spec here also states 'Json', which results in an invalid CloudFormation template.

https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-controltower-enabledbaseline-parameter.html#cfn-controltower-enabledbaseline-parameter-value

I haven't found how to tell AWS about this, but at least I know how to patch it in troposphere, so PR is incoming 😉

jvdmr avatar Jun 12 '25 10:06 jvdmr