-
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
Composer v2 (beta) (#9611) #5181
Conversation
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. Thanks for your contribution! A human will be with you soon. @ScottSuarez, please review this PR or find an appropriate assignee. |
/gcbrun |
might want to rebase to unblock this /gcbrun |
30bf583
to
1311063
Compare
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccComposerEnvironment_ComposerV2|TestAccComputeManagedSslCertificate_managedSslCertificateBasicExample|TestAccComputeServiceAttachment_serviceAttachmentBasicExample You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=206579 |
Tests failed during RECORDING mode: TestAccComposerEnvironment_ComposerV2|TestAccComputeServiceAttachment_serviceAttachmentBasicExample Please fix these to complete your PR |
/gcbrun |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccComposerEnvironment_ComposerV2|TestAccComputeForwardingRule_update|TestAccComputeServiceAttachment_serviceAttachmentBasicExample You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=206608 |
Tests failed during RECORDING mode: TestAccComposerEnvironment_ComposerV2|TestAccComputeServiceAttachment_serviceAttachmentBasicExample Please fix these to complete your PR |
I keep getting SA issues
I the sa that runs the tests permissions. Do I have to grant another service account permissions? |
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.
Can you please also add these fields to the documentation for this resource
mmv1/third_party/terraform/resources/resource_composer_environment.go.erb
Show resolved
Hide resolved
mmv1/third_party/terraform/resources/resource_composer_environment.go.erb
Show resolved
Hide resolved
mmv1/third_party/terraform/resources/resource_composer_environment.go.erb
Show resolved
Hide resolved
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccComposerEnvironment_ComposerV2|TestAccComputeServiceAttachment_serviceAttachmentBasicExample|TestAccOrgPolicyPolicy_EnforcePolicy|TestAccOrgPolicyPolicy_FolderPolicy|TestAccOrgPolicyPolicy_OrganizationPolicy|TestAccOrgPolicyPolicy_ProjectPolicy You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=206675 |
Tests failed during RECORDING mode: TestAccComputeServiceAttachment_serviceAttachmentBasicExampleUpdate|TestAccComposerEnvironment_ComposerV2 Please fix these to complete your PR |
efd026a
to
9c362e1
Compare
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccComposerEnvironment_ComposerV2 You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=206680 |
Tests failed during RECORDING mode: TestAccComposerEnvironment_ComposerV2 Please fix these to complete your PR |
The test failed with the following error
|
/gcbrun |
2 similar comments
/gcbrun |
/gcbrun |
mmv1/third_party/terraform/resources/resource_composer_environment.go.erb
Show resolved
Hide resolved
@@ -186,6 +186,10 @@ The `config` block supports: | |||
* `maintenance_window` - | |||
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)) | |||
The configuration settings for Cloud Composer maintenance window. | |||
|
|||
* `workloads_config` - |
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 field is not beta correct?
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.
can you expand workloads_config
subfields inline with the other block types
ie: The workloads_config
block supports:
// version_1 - write own flatten for Scheduler, WebServer and Worker | ||
// version_2 (Scott idea) - use different types for inner structs in flatten | ||
// version_3 - v1 and v2 combined | ||
|
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.
v3 makes sense, lets go with that approach
|
…to be set correctly
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccIapTunnelIamBindingGenerated|TestAccComposerEnvironment_update|TestAccComposerEnvironment_ComposerV2|TestAccComposerEnvironment_withDatabaseConfig|TestAccComposerEnvironment_withWebServerConfig|TestAccComputeServiceAttachment_serviceAttachmentBasicExample|TestAccComputeServiceAttachment_serviceAttachmentBasicExampleUpdate You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=208992 |
Tests failed during RECORDING mode: TestAccIapTunnelIamBindingGenerated|TestAccComposerEnvironment_ComposerV2|TestAccComposerEnvironment_update|TestAccComposerEnvironment_withDatabaseConfig|TestAccComposerEnvironment_withWebServerConfig Please fix these to complete your PR |
error from api
|
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccComposerEnvironment_ComposerV2 You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=209160 |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccComputeManagedSslCertificate_managedSslCertificateBasicExample You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=209184 |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccServiceNetworkingPeeredDNSDomain_basic|TestAccPubsubLiteReservation_pubsubLiteReservationBasicExample|TestAccPubsubLiteTopic_pubsubLiteTopicBasicExample You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=209376 |
Co-authored-by: Scott Suarez <[email protected]> Co-authored-by: Goran Obradovic <[email protected]> Co-authored-by: Scott Suarez <[email protected]>
Add support for creation of Cloud Composer v2 environments.
fixes hashicorp/terraform-provider-google/issues/9611
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)