Related Articles

4 Comments

  1. 1

    mayankpandey

    hi SALK,

    Please correct the ” in below line:

    “ConstaintDescription: “must be a valid EC2 instance type”

    because of this, the code there is looking different. Just thought of pointing out. Your posts are great. 🙂

    Reply
    1. 1.1

      Onur SALK

      Thanks. I corrected it and glad you liked my posts. 🙂

      Reply
  2. 2

    Alireza

    Hi Salk,

    Thanks for this tutorial. I think you need add “Resources:” before following and it’s missed.

    “ProdInstance” : {
    “Type” : “AWS::EC2::Instance”,
    “Condition” : “Prod”,
    “Properties” : {
    “InstanceType” : “m3.xlarge”,
    “ImageId” : { “Fn::FindInMap” : [ “RegionMap”, { “Ref” : “AWS::Region” }, “AMI” ]}
    }
    }

    Best
    ALIREZA

    Reply
    1. 2.1

      Onur SALK

      Hi Alizera,

      You’re right. Thanks for informing me.

      Reply

Leave a Reply