-
-
Notifications
You must be signed in to change notification settings - Fork 23
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 Records with Matching Name + Type #18
Conversation
/test all |
…orm-cloudflare-zone into matching_named_records
/test all |
record.name, | ||
record.type, | ||
index(local.flatten_records, record) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's probably obvious but could you explain what the value of the index function would return as an example of a record input to this module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for putting in this PR.
@Nuru and I spoke of this change not too long ago and we decided that a key input would be the best path forward.
A few days ago we received this PR which does have the key input. It's worth reviewing that one instead of this one.
https://github.com/cloudposse/terraform-cloudflare-zone/pull/17/files
Closing in favor of #17 |
what
why
references
records
interface to allow for multiple records with unique values #15records
should default to an empty list instead ofnull
#14