-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: dns records and zones inclusion #910
base: main
Are you sure you want to change the base?
Conversation
Moved the test to |
/run pipeline |
/run pipeline |
/run pipeline |
/run pipeline |
/run pipeline |
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.
Have you run the DNS tests? If yes, how did they turn out?
})) | ||
default = [] | ||
validation { | ||
condition = length(var.dns_records) == 0 || alltrue([for record in var.dns_records != null ? var.dns_records : [] : (contains(["A", "AAAA", "CNAME", "MX", "PTR", "TXT", "SRV"], record.type))]) |
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.
I am uncertain if we need all types of dns_records
as it will be consumed in landing zone, can you please confirm this @vburckhardt?
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.
This change was introduced as part of HPC requirement, this shall be consumed in SLZ too. If some fields are to be omitted kindly suggest else we can go ahead with all the DNS records.
Yes, I tried testing all DNS records and it worked fine. Also tried provisioning before running the test. |
…terraform-ibm-landing-zone-vpc into 11726-dns-records
/run pipeline |
Hi @rajatagarwal-ibm - I have a query around |
@imprateeksh I think it will be good to have a validation around Maybe you could use |
/run pipeline |
Description
This PR is to add the change required to include DNS records and zones.
Refer Internal Issue: #11726
Release required?
x.x.X
)x.X.x
)X.x.x
)Release notes content
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers