-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
google: Add google_compute_backend_service #3038
google: Add google_compute_backend_service #3038
Conversation
b235bdd
to
7091e1e
Compare
Awesome! |
@sparkprime Does Awesome == LGTM, i.e. do you not have any reservations about the code? :) |
I haven't looked at it in detail yet but will do very soon (hopefully today) :) |
Type: schema.TypeString, | ||
Required: true, | ||
ForceNew: true, | ||
ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) { |
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.
Note: some day this would be good to factor out and apply to all resources
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.
Factor out what exactly? That validation function you mean?
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.
Yeah, it'd be useful for all resources
On Sat, Aug 22, 2015, 5:11 PM Radek Simko [email protected] wrote:
In builtin/providers/google/resource_compute_backend_service.go
#3038 (comment):
Type: schema.TypeString,
Optional: true,
},
"health_checks": &schema.Schema{
Type: schema.TypeSet,
Elem: &schema.Schema{Type: schema.TypeString},
Required: true,
Set: schema.HashString,
},
"name": &schema.Schema{
Type: schema.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) {
Factor out what exactly? That validation function you mean?
—
Reply to this email directly or view it on GitHub
https://github.com/hashicorp/terraform/pull/3038/files#r37699801.
Other than that minor stuff LGTM |
7091e1e
to
1578372
Compare
072ce47
to
fea1d04
Compare
fea1d04
to
0a0f532
Compare
@sparkprime Modifications done, check my explanation regarding |
LGTM merge it :) |
google: Add google_compute_backend_service
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Test plan