Add stackdriverprovisioning to ignored APIs.

Add stackdriverprovisioning.googleapis.com to our list of APIs that are
automateically enabled that Terraform can't act on.
This commit is contained in:
Paddy Carver 2018-07-12 13:40:30 -07:00
parent 9bdf755591
commit d80c92f33f

View File

@ -47,9 +47,10 @@ func resourceGoogleProjectServices() *schema.Resource {
// These services can only be enabled as a side-effect of enabling other services, // These services can only be enabled as a side-effect of enabling other services,
// so don't bother storing them in the config or using them for diffing. // so don't bother storing them in the config or using them for diffing.
var ignoreProjectServices = map[string]struct{}{ var ignoreProjectServices = map[string]struct{}{
"containeranalysis.googleapis.com": struct{}{}, "containeranalysis.googleapis.com": struct{}{},
"dataproc-control.googleapis.com": struct{}{}, "dataproc-control.googleapis.com": struct{}{},
"source.googleapis.com": struct{}{}, "source.googleapis.com": struct{}{},
"stackdriverprovisioning.googleapis.com": struct{}{},
} }
func resourceGoogleProjectServicesCreate(d *schema.ResourceData, meta interface{}) error { func resourceGoogleProjectServicesCreate(d *schema.ResourceData, meta interface{}) error {