-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow Creating a DNS record for a claimed IP #29
Comments
Yes, without a temp claim time it would always return the same IP. Please use the temp_claim_time to claim it
Then you can use it e.g. in an A record: |
When you don't explicitly specify temporary_claim_time, it defaults to 60s so that functionality doesn't appear to be working properly it seems. I tried doing a 5 second claim time and then a 7 second wait between the IPAM record assignment and the A record creation but am getting the same behavior. |
Right - it defaults to 60 seconds, i.e. the temp claim is not necessary here.
with the following output:
and in Micetro IPAM: |
I can confirm this is still happening. TF v1.5.7 |
It seems as though if you use 'menandmice_ipam_record' and mark 'claimed = true', when you pass that IP to 'menandmice_dns_record', you get an error that the IP address is claimed. If you mark 'claimed=false' and attempt to assign multiple IP addresses, terraform will grab the same IP for multiple records.
The text was updated successfully, but these errors were encountered: