fixup! route53: Add support for Amazon AWS Route 53

undef login and password
This commit is contained in:
Richard Hansen 2024-12-19 23:14:53 -05:00
parent 78b84ac7db
commit 8b6a8aa888

View file

@ -1301,12 +1301,8 @@ our %protocols = (
'cfgvars' => { 'cfgvars' => {
# Pretty all of these are ignored, but to ensure compatbility placing this here # Pretty all of these are ignored, but to ensure compatbility placing this here
%{$cfgvars{'protocol-common-defaults'}}, %{$cfgvars{'protocol-common-defaults'}},
# nic_updateable() assumes that every service uses a username and password but that is 'login' => undef,
# not true for Route53. Silence warnings by redefining the username and password 'password' => undef,
# variables as non-required with a non-empty default. In addition, using AWS_SECRET_ACCESS_KEY
# and AWS_ACCESS_KEY_ID arbitraily mapped to login and password seem to create hidden complexity
'login' => setv(T_STRING, 0, 'unused', undef),
'password' => setv(T_STRING, 0, 'unused', undef),
# Hosted Zone Id (Required) found on the Hosted Zone you which to UPSERT onto within Route53 on AWS # Hosted Zone Id (Required) found on the Hosted Zone you which to UPSERT onto within Route53 on AWS
'hosted-zone-id' => setv(T_STRING, 1, undef, undef), 'hosted-zone-id' => setv(T_STRING, 1, undef, undef),
# AWS Credentials (Required) (In the future may add STS support for more secure way to access) # AWS Credentials (Required) (In the future may add STS support for more secure way to access)