amazon-web-servicesaws-cloudformation

CloudFormation default values of unrequired properties


I am preparing a YAML config to automate infrastructure setup together with deploying my application. The documentation for CloudFormation specifies whether a property of a resource is required or not, but it does not specify what the default value will be for when you do not include the property.

Where can I find a the default properties for each resource?


Solution

  • While some defaults are documented, default values are not currently documented for every optional property:

    https://github.com/awsdocs/aws-cloudformation-user-guide/issues/272

    although more defaults can be found in CloudFormation resource schemas:

    https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-type-schemas.html