-
Notifications
You must be signed in to change notification settings - Fork 662
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
Redesign Dns Custom resolver resource and deprecate Custom resolver location #3820
Conversation
Test Results for Custom resolver location.
|
DiffSuppressFunc: flex.ApplyOnce, | ||
Type: schema.TypeList, | ||
Description: "Locations on which the custom resolver will be running", | ||
Optional: true, |
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.
Add maxItems : 3
in schema instead of validating inside code
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.
Addressed .
@@ -76,7 +76,7 @@ func ResourceIBMPrivateDNSCRLocation() *schema.Resource { | |||
pdnsCustomReolverEnabled: { | |||
Type: schema.TypeBool, | |||
Optional: true, | |||
Default: true, | |||
Default: false, |
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.
Please revert all changes made to location resource As it is going to be deprecated..
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.
Please add deprecation message to location resource
Something similar to https://github.com/IBM-Cloud/terraform-provider-ibm/blob/master/ibm/service/power/resource_ibm_pi_network_port.go#L74
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.
Addressed .
…ocation (IBM-Cloud#3820) * fix : custom resolver locations * fix : update documentation * fix : Redesign Custom resolver * fix : Custom resolver location with added validations and error handling * fix : make fmt * fix : change default value * fix : Address review comments Co-authored-by: Sandeep S <Sandeep.S1@ibm.com>
…ocation (IBM-Cloud#3820) * fix : custom resolver locations * fix : update documentation * fix : Redesign Custom resolver * fix : Custom resolver location with added validations and error handling * fix : make fmt * fix : change default value * fix : Address review comments Co-authored-by: Sandeep S <Sandeep.S1@ibm.com>
Community Note
Relates OR Closes #0000
Output from acceptance testing: