How should you implement this?

You need to create a Route53 record automatically in CloudFormation when not running in production during all launches of a Template. How should you implement this?

records. http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/conditions-section-structure.html

You need to create a Route53 record automatically in CloudFormation when not running in production during all launches of a Template. How should you implement this?

records. http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/conditions-section-structure.html

A.
Use a Parameter for environment, and add a Condition on the Route53
Resource in the template to create the record only when environment is not
production.

B.
Create two templates, one with the Route53 record value and one with a null value for the record. Use the one without it when
deploying to production.

C.
Use a Parameter for environment, and add a Condition on the Route53
Resource in the template to create the record with a null string when environment is
production.

D.
Create two templates, one with the Route53 record and one without it. Use the one without it when deploying to production.

Explanation:
Explanation/Reference:
The best way to do this is with one template, and a Condition on the resource. Route53 does not allow null strings for



Leave a Reply 0

Your email address will not be published. Required fields are marked *