cdk deploy --parameters hostedzoneparamddns=#### --parameters hostedzonenameparamddns=#### --parameters subdomainparamddns=####
- hostedzoneparamddns: Hosted Zone ID
- hostedzonenameparamddns: Hosted Zone Name
- subdomainparamddns: Subdomain to create & update
aws secretsmanager get-secret-value --secret-id ddns-api-key
- Move both files in the
client
directory to the server where you want to run the client.
- Set the
API_KEY
and API_URL
(add /update
to the url from the stack output) variables in the ddns.sh
script.
- Run the
install.sh
script to install the client.
- The client will run every hour and will update the DNS record.