-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A records (ALIAS) to ELBs on a different AWS account are unconfigurable #10
Comments
Sorry for reply late. I think that you can set For example... dns_names_yaml = YAML.load('dns_names.yml')
dns_name_by_account = dns_names_yaml['my-account']['info.winebarrel.jp']
hosted_zone "info.winebarrel.jp." do
rrset "xxx.info.winebarrel.jp.", "A" do
dns_name dns_name_by_account
end
end You can also ignore a specific record: if ENV['IGNORE_ELB'] == '1'
require 'elb.route'
# elb.route:
# hosted_zone "info.winebarrel.jp." do
# rrset "xxx.info.winebarrel.jp.", "A" do
# dns_name "elb-dns-name.elb.amazonaws.com"
# end
# end
end Can you solve the problem in this way? |
I sent related pull request. Please check #21 |
Hello, Is it resolved?
To know why I inserted I think I should write the resource record like this (https://github.com/winebarrel/roadworker/blob/v0.5.6/spec/roadworker_create_spec.rb#L171), but is it wrong? |
@limitusus Thank you for your report 😃 |
Hi @winebarrel, |
Sorry untouched... |
Hi all, is this problem fixed? I still see this issue in my current version of roadworker (roadwork 0.5.6). |
Sorry, this issue information is not enough to solve this problem 😢
(Please contact @sgwr_dts (twitter) if you can speak Japanese) |
I tested under the following conditions (hid ELB name; it's a production data):
Backtrace:
No env val (I tested it using Hope it helps |
Hi @winebarrel, It can not create records for ELB that does belong to different AWS account (not belong to current account). ruby --versionruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] roadwork --versionroadwork 0.5.6 env valAWS_REGION/AWS_DEFAULT_REGION are not set dns recordrrset "example.com.", "CNAME" do roadwork -aApply debug details.... /usr/local/app/roadworker/vendor/bundle/ruby/2.3.0/gems/roadworker-0.5.6/lib/roadworker/route53-ext.rb:82:in |
Thanks for reporst! |
I think I fix the problem. probably... |
Thanks a lot, it seems fixed!! |
It worked for me too. Thanks! |
We have a zone apex record that needs to point to an ELB on another account (that we do not control or have credentials for).
The way
route53-ext
resolves ELBs does not handle this case, and we end up receiving the "Cannot find ELB" error due to this (which breaks the DNS update).I can see two obvious solutions
a) fix the root cause (I tried monkeypatching around it, but was unsuccessful)
b) provide a way to tell roadworker to ignore a given record - in this case I would just leave the ALIAS record in Route 53, and roadworker would be told to just ignore it when generating the change list / applying change list.
The text was updated successfully, but these errors were encountered: