-
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
feat(vertexai): Add IAM resources for Vertex AI Endpoint #9454
feat(vertexai): Add IAM resources for Vertex AI Endpoint #9454
Conversation
Hello! I am a robot. It looks like you are a: Community Contributor @c2thorn, 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. |
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. Terraform GA: Diff ( 4 files changed, 221 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_endpoint_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_vertex_ai_endpoint_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccSpannerDatabaseIamPolicy|TestAccVertexAIEndpointIamMemberGenerated|TestAccVertexAIEndpointIamBindingGenerated|TestAccVertexAIEndpointIamPolicyGenerated |
Rerun these tests in REPLAYING mode to catch issues
|
|
Thanks for putting the error message as a comment. I saw a similar error when I ran a test locally, and I thought defining |
Will be OOO for a while, reassigning a random reviewer to carry this forward once ready. |
I overlooked a change I made locally. I added the update in 41ef139. |
@trodge If this PR looks good, could you approve the cloud builder job? |
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. Terraform GA: Diff ( 4 files changed, 222 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_endpoint_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_vertex_ai_endpoint_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataSourceGoogleServiceAccountIdToken_impersonation|TestAccVertexAIEndpointIamPolicyGenerated|TestAccVertexAIEndpointIamMemberGenerated|TestAccVertexAIEndpointIamBindingGenerated |
Rerun these tests in REPLAYING mode to catch issues
|
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.
Found a couple nits after approving.
@@ -0,0 +1,3 @@ | |||
project = google_vertex_ai_endpoint.endpoint.project |
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.
nit: these lines should be indented with two spaces so that they fit in the documentation and generated test.
"github.com/hashicorp/terraform-provider-google/google/envvar" | ||
) | ||
|
||
func TestAccVertexAIEndpointIamBindingGenerated(t *testing.T) { |
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.
func TestAccVertexAIEndpointIamBindingGenerated(t *testing.T) { | |
func TestAccVertexAIEndpointIamBinding(t *testing.T) { |
This test can be renamed since it is not being generated by building mmv1.
@trodge Hello 👋 Thank you for your reviews! I pushed the updates. Could you approve the cloud builder job again? |
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. Terraform GA: Diff ( 4 files changed, 222 insertions(+), 2 deletions(-)) Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_endpoint_iam_binding" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
Resource: resource "google_vertex_ai_endpoint_iam_member" "primary" {
condition {
description = # value needed
expression = # value needed
title = # value needed
}
}
|
Tests analyticsTotal tests: Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccVertexAIEndpointIamPolicy|TestAccVertexAIEndpointIamMember|TestAccVertexAIEndpointIamBinding |
Rerun these tests in REPLAYING mode to catch issues
|
…Platform#9454) * feat(vertexai): iam resources for vertex ai prediction * fix: update the import format * refactor: add two spaces for docs * refactor: remove the suffix 'generated' from the hand-written tests
…Platform#9454) * feat(vertexai): iam resources for vertex ai prediction * fix: update the import format * refactor: add two spaces for docs * refactor: remove the suffix 'generated' from the hand-written tests
…Platform#9454) * feat(vertexai): iam resources for vertex ai prediction * fix: update the import format * refactor: add two spaces for docs * refactor: remove the suffix 'generated' from the hand-written tests
…Platform#9454) * feat(vertexai): iam resources for vertex ai prediction * fix: update the import format * refactor: add two spaces for docs * refactor: remove the suffix 'generated' from the hand-written tests
fixes hashicorp/terraform-provider-google#14630
relates to #7965
relates to hashicorp/terraform-provider-google#16478
Release Note Template for Downstream PRs (will be copied)