aboutsummaryrefslogtreecommitdiffstats
path: root/cf.yml
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2026-05-10 14:47:51 -0700
committerGitHub <noreply@github.com>2026-05-10 14:47:51 -0700
commit6cb1ebb60019e04bc21e8315caa71e22677b3857 (patch)
treeb34c5f04fa61676d9aa666512ae858bae8f51eb4 /cf.yml
parent6c6eec1bf55b879a8db218cf3252fa44d9b5d6b1 (diff)
fix fetch ipv4 addrHEADmaster
Diffstat (limited to 'cf.yml')
-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