-
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
Adding datasources for folder and project org policy #1435
Adding datasources for folder and project org policy #1435
Conversation
41a0ec8
to
4e1ceaf
Compare
Hi! I'm the modular magician, I work on Magic Modules. Pull request statusesNo diff detected in Ansible. 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. |
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.
Tests?
Also, I think the original issue was for import and not datasources 😛
Wow, I went down a really long tangential path that didn't fix the original issue 🤦🏼♂️ |
06aaa9a
to
535215f
Compare
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. |
@rileykarson took me a minute, but tests are have been added. |
third_party/terraform/tests/data_source_google_folder_organization_policy_test.go
Outdated
Show resolved
Hide resolved
}) | ||
} | ||
|
||
func testAccDataSourceGoogleOrganizationPolicyCheck(dataSourceName string, resourceName string) resource.TestCheckFunc { |
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'm partial to namespacing this & duplicating it into each datasource, but don't care enough to block on it
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 was thinking the right move would be to make a fully generic comparison, or generate them. But for now I think it's sixes.
535215f
to
c603081
Compare
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. |
c603081
to
c3eb9c5
Compare
[all]
[terraform]
[terraform-beta]
[ansible]
[inspec]