-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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_project_services is deprecated - use google_project_service #2411
Conversation
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesWARNING: The following files changed in commit e61812f may need corresponding changes in third_party/validator:
No diff detected in terraform-google-conversion. New Pull RequestsI built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesWARNING: The following files changed in commit 16d00cf may need corresponding changes in third_party/validator:
terraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Running tests in the downstream. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesterraform-provider-google-beta already has an open PR. New Pull RequestsI didn't open any new pull requests because of this PR. |
Tests pass in the downstream now. |
@@ -355,3 +220,43 @@ func expandServiceUsageProjectServicesServices(v interface{}, d TerraformResourc | |||
} | |||
return convertStringArr(v.(*schema.Set).List()), nil | |||
} | |||
|
|||
// Retrieve a project's services from the API | |||
func listCurrentlyEnabledServices(project string, config *Config, timeout time.Duration) (map[string]struct{}, 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.
We expect this to move within the same file?
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.
Ah, I moved it and then moved it back, and mistargeted where it was supposed to go. NBD either way.
Tracked submodules are build/terraform-beta build/terraform-mapper build/terraform build/ansible build/inspec.
f9ea6ef
to
8c1d994
Compare
This also migrates the library code in
google_project_services
which is used in other portions of the provider out, so that the 3.0.0 change can be a simplegit rm
.