Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've just switched form building our servers via the EC2 Web GUI to using CloudFormation, but I can't find anything in the documentation about setting Termination Protection. Is this not supported by CloudFormation?

I can still enabled it manually once the CloudFormation script completes, but I'm trying to get away from manual configuration.

UPDATE: Found the answer but don't have the rep to posted it as such. Just in case anyone else is as dense as I was Termination Protection is the same as DisableAPITermination. See below.

"Type": "AWS::EC2::Instance",
  "Properties": {
    "DisableApiTermination": "TRUE",
share|improve this question

1 Answer 1

You can't use:

"DisableOnTermination": "FALSE", 

?

Regards.

share|improve this answer
1  
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  HopelessN00b Feb 7 at 17:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.