aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cf.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cf.yml b/cf.yml
index d78913b..3cb0d0c 100644
--- a/cf.yml
+++ b/cf.yml
@@ -323,7 +323,7 @@ Resources:
# Install AWS CLI
yum install -y aws-cli
# Get instance ID and public IP
- PUBLIC_IP=$(curl -s http://169.254.169.254/latest/meta-data/public-ipv4)
+ PUBLIC_IP=$(curl -s https://checkip.amazonaws.com)
# Update Route53 DNS record
aws route53 change-resource-record-sets \
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage