-
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
memorystore open api #11463
memorystore open api #11463
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @roaks3, 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 hasn't generated any diffs, but I'll let you know if a future commit does. |
@roaks3 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
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.
@himanikh just checking, is this ready for a review yet? Are you able to see the build failures in Cloud Build?
Thanks for checking in. I'm still developing but I don't mind any initial feedback. |
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_memorystore_instance" "primary" {
deletion_protection_enabled = # value needed
engine_configs = # value needed
engine_version = # value needed
instance_id = # value needed
labels = # value needed
location = # value needed
persistence_config {
aof_config {
append_fsync = # value needed
}
mode = # value needed
rdb_config {
rdb_snapshot_period = # value needed
rdb_snapshot_start_time = # value needed
}
}
psc_auto_connections {
project_id = # value needed
}
zone_distribution_config {
zone = # value needed
}
}
|
Tests analyticsTotal tests: 3900 Click here to see the affected service packages
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 tests
|
|
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_memorystore_instance" "primary" {
engine_version = # value needed
labels = # value needed
persistence_config {
aof_config {
append_fsync = # value needed
}
mode = # value needed
rdb_config {
rdb_snapshot_period = # value needed
rdb_snapshot_start_time = # value needed
}
}
zone_distribution_config {
zone = # value needed
}
}
|
Tests analyticsTotal tests: 3907 Click here to see the affected service packages
Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
@roaks3 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
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 only took a quick glance so far, and noticed a couple of things. Also note that per the test failures, I have enabled this API in our 3 public test environments.
min_version: beta | ||
vars: | ||
instance_name: "ha-instance" | ||
policy_name: "mypolicy" |
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 variables should all include a hyphen, like my-policy
, so that our generator adds the tf-test
prefix behind the scenes, and these resources can be cleaned up if the test fails
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_memorystore_instance" "primary" {
desired_psc_auto_connections = # value needed
engine_version = # value needed
labels = # value needed
persistence_config {
aof_config {
append_fsync = # value needed
}
mode = # value needed
rdb_config {
rdb_snapshot_period = # value needed
rdb_snapshot_start_time = # value needed
}
}
zone_distribution_config {
zone = # value needed
}
}
|
Tests analyticsTotal tests: 3910 Click here to see the affected service packages
Action takenFound 3488 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
@@ -496,6 +496,11 @@ var ServicesListBeta = mapOf( | |||
"displayName" to "Memcache", | |||
"path" to "./google-beta/services/memcache" | |||
), | |||
"memorystore" to mapOf( |
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 see the failure: https://github.com/GoogleCloudPlatform/magic-modules/actions/runs/10532606319/job/29187084684?pr=11463
This is not a GA service yet. Do I need to add it to mmv1/third_party/terraform/.teamcity/components/inputs/services_ga.kt ?
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 don't think you need to. I believe these are used for our nightly tests of the corresponding provider.
drive-by /gcbrun |
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_memorystore_instance" "primary" {
desired_psc_auto_connections = # value needed
engine_version = # value needed
labels = # value needed
persistence_config {
aof_config {
append_fsync = # value needed
}
mode = # value needed
rdb_config {
rdb_snapshot_period = # value needed
rdb_snapshot_start_time = # value needed
}
}
zone_distribution_config {
zone = # value needed
}
}
|
Tests analyticsTotal tests: 3911 Click here to see the affected service packages
Action takenFound 3489 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
@GoogleCloudPlatform/terraform-team @roaks3 This PR has been waiting for review for 1 week. Please take a look! Use the label |
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.
Was this started with Autogen?
I've only reviewed the yaml so far, and overall it looks good. Tomorrow I will plan to take a second look at what the virtual field is doing, and make sure tests look good.
@@ -496,6 +496,11 @@ var ServicesListBeta = mapOf( | |||
"displayName" to "Memcache", | |||
"path" to "./google-beta/services/memcache" | |||
), | |||
"memorystore" to mapOf( |
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 don't think you need to. I believe these are used for our nightly tests of the corresponding provider.
Autogen version: 91f60bf |
Re: #11463 (comment) TeamCity Services Diff Check / teamcity-services-diff-check (pull_request) fails if I don't add the service to teamcity config. |
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: 3965 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
|
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.
LGTM, just a few minor suggestions
mmv1/templates/terraform/examples/memorystore_instance_basic.tf.erb
Outdated
Show resolved
Hide resolved
mmv1/templates/terraform/examples/memorystore_instance_basic.tf.erb
Outdated
Show resolved
Hide resolved
mmv1/third_party/terraform/services/memorystore/resource_memorystore_instance_test.go.erb
Show resolved
Hide resolved
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: 3967 Click here to see the affected service packages
Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
Add new service Memorystore
Release Note Template for Downstream PRs (will be copied)