You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a cname type R53 domain that is pointing to different target domain weighted values (see structure below)
How do I test this using the have_record_set function?
I'm trying the following:
describe route53_hosted_zone('my_aws_public_zone.'), do
it { should exist }
its(:resource_record_set_count) { should > 2 }
it { should have_record_set('myapp-domain.com.').type('cname')}
it { should have_record_set('myapp-domain.com.').cname('myapp-r53-east.com').ttl(300)}
end
but receiving an error:
`block (2 levels) in <top (required)>'
I'm guessing it is because the have_record_set with cname is returning more than 1 target. When I have only 1 target for that cname the above code works.
Hi,
I have a cname type R53 domain that is pointing to different target domain weighted values (see structure below)
How do I test this using the
have_record_set
function?I'm trying the following:
but receiving an error:
I'm guessing it is because the
have_record_set
with cname is returning more than 1 target. When I have only 1 target for that cname the above code works.P.S:
Current R53 structure:
The text was updated successfully, but these errors were encountered: