Thursday, February 29, 2024
HomeSoftware EngineeringThe way to present Default Values for AWS CloudFormation Parameters

The way to present Default Values for AWS CloudFormation Parameters


AWS CloudFormation could be very helpful for creating template-able infrastructure definitions.

One of many sections of a template, is the Enter Parameters, or just Parameters as CloudFormation calls it. It is a part block that llows for person outlined variables to be consumed by the template.

When testing, it may be helpful to specify default values right here.

This may be achieved by including the Default key and setting a worth.

Parameters:

  surroundings:
    Sort: String
    Default: DEV
  vpcid:
    Sort: String
    Default: "vpc-123456789123456a"
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments