Skip to content

Instantly share code, notes, and snippets.

@oiojin831
Last active September 22, 2015 10:31
Show Gist options
  • Save oiojin831/4b2f7f4e11c4e1e080cd to your computer and use it in GitHub Desktop.
Save oiojin831/4b2f7f4e11c4e1e080cd to your computer and use it in GitHub Desktop.
aws route53 change-resource-record-sets --hosted-zone-id ZXXTN8ME7HY7P --change-batch file:///home/oiojin831/aws-setting/sub.json
{
  "Changes": [
    {
      "Action": "CREATE",
      "ResourceRecordSet": {
        "Name": "corzej.rehashism.com",
        "Type": "A",
        "AliasTarget": {
          "HostedZoneId": "Z2M4EHUR26P7ZW",
          "DNSName": "s3-website-ap-northeast-1.amazonaws.com",
          "EvaluateTargetHealth": false
        }
      }
    }
  ]
}

bucket이름하고 record이름 같게 하기

hosted zone id for s3 documentation http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment