-
Notifications
You must be signed in to change notification settings - Fork 1.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
[DataprocGdc] Add Terraform support for Dataproc on GDC resources #11989
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @rileykarson, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
cc193ef
to
2466249
Compare
This comment was marked as outdated.
This comment was marked as outdated.
2466249
to
5066214
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
480f575
to
a052996
Compare
This comment was marked as outdated.
This comment was marked as outdated.
286024b
to
21aa248
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
1 similar comment
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
21aa248
to
b3af720
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
🟢 Tests passed during RECORDING mode: 🔴 Tests failed when rerunning REPLAYING mode: Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made. Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer. 🟢 All tests passed! |
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.
Requested a bunch of cleanup below to bring this in line with conventions & make things easier to read. Please also add a top-level references
section that links to the API docs and at least one guide.
per-resource P4SA that also automatically has Fleet Workload\nIdentity bindings | ||
applied. " | ||
output: true | ||
parameters: |
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.
parameters should come before properties by convention
async: | ||
actions: ['create', 'delete'] | ||
type: OpAsync | ||
operation: | ||
base_url: "{{op_id}}" | ||
immutable: true | ||
examples: | ||
- name: "dataprocgdc_serviceinstance" | ||
primary_resource_id: "service-instance" | ||
vars: | ||
service_instance_id: "tf-e2e-service-instance" | ||
project: "my-project" | ||
test_vars_overrides: | ||
'project': '"gdce-cluster-monitoring"' |
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.
these should all go before parameters by convention
a416bff
to
90d64c5
Compare
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 4245 Click here to see the affected service packages
Action takenFound 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🔴 Tests failed when rerunning REPLAYING mode: Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made. Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer. 🟢 All tests passed! |
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.
A couple small items - please also add the previously-requested references: #11989 (review)
output: true | ||
- name: state | ||
type: String | ||
description: "The current state. \n Possible values:\n STATE_UNSPECIFIED\nCREATING\nACTIVE\nDISCONNECTED\nDELETING\nSTOPPING\nSTOPPED\nSTARTING\nUPDATING\nFAILED" |
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 update this as well
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.
Done
This will be\nthe service_account if specified. Otherwise, it will be an automatically\ncreated | ||
per-resource P4SA that also automatically has Fleet Workload\nIdentity bindings |
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.
This will be\nthe service_account if specified. Otherwise, it will be an automatically\ncreated | |
per-resource P4SA that also automatically has Fleet Workload\nIdentity bindings | |
This will be the service_account if specified. Otherwise, it will be an automatically created | |
per-resource P4SA that also automatically has Fleet Workload Identity bindings |
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.
Done
90d64c5
to
a8ef1b7
Compare
I added a link to our user guide. The API documentation is not available yet, but I can link to where the page will be if that helps. |
Yeah, if you have that handy (and it's not going to change) that would be great - otherwise someone would need to come along and add it later. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
Done |
a8ef1b7
to
43f3591
Compare
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 4245 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
Tests analyticsTotal tests: 4245 Click here to see the affected service packages
🟢 All tests passed! View the build log |
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 can't validate the schema since the docs don't exist yet, but this resource seems to be working fine in tests. Thanks!
…ogleCloudPlatform#11989) Co-authored-by: Jerry Ding <[email protected]> Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
This PR adds support for Dataproc on GDC API Service Instances to the GCP Terraform provider.
Release Note Template for Downstream PRs (will be copied)