Skip to content
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

Add for storage_pools flag on cluster/nodepool create, and nodepool update #11391

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

amacaskill
Copy link
Contributor

@amacaskill amacaskill commented Aug 8, 2024

Add terraform support for storage_pools on cluster/nodepool create, and nodepool update.

Release Note Template for Downstream PRs (will be copied)

container: added `storage_pools` to `node_config` in `google_container_cluster` and `google_container_node_pool`

@github-actions github-actions bot requested a review from shuyama1 August 8, 2024 00:23
Copy link

github-actions bot commented Aug 8, 2024

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@shuyama1, 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.

@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Aug 8, 2024
@modular-magician modular-magician added service/container and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Aug 9, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 368 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 5 files changed, 368 insertions(+), 3 deletions(-))

Errors

google provider:

  • The diff processor failed to build. This is usually due to the downstream provider failing to compile.

google-beta provider:

  • The diff processor failed to build. This is usually due to the downstream provider failing to compile.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 0
Passed tests: 0
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • container
#### Non-exercised tests

Tests were added that are skipped in VCR:

  • TestAccContainerCluster_storagePoolsWithNodeConfig
  • TestAccContainerCluster_storagePoolsWithNodePool
  • TestAccContainerNodePool_storagePools
  • TestAccContainerNodePool_withMachineDiskStoragePoolsUpdate
    $\textcolor{red}{\textsf{Errors occurred during REPLAYING mode. Please fix them to complete your PR.}}$

View the build log

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the provider failed to compile. Probably due to errors stated in the unit tests https://github.com/GoogleCloudPlatform/magic-modules/actions/runs/10315416311/job/28555548530?pr=11391. Please let me know if you need help debugging. Thanks

@amacaskill
Copy link
Contributor Author

@shuyama1 Looks like the most recent release is 0v.191.0 and it doesn't have storagePools field yet in NodeConfig. https://pkg.go.dev/google.golang.org/api@v0.191.0/container/v1#NodeConfig. I'm hoping it will make it into the google.golang.org/api release for next week, or the following week.

@github-actions github-actions bot requested a review from shuyama1 August 9, 2024 20:56
Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shuyama1 Looks like the most recent release is 0v.191.0 and it doesn't have storagePools field yet in NodeConfig. pkg.go.dev/google.golang.org/api@v0.191.0/container/v1#NodeConfig. I'm hoping it will make it into the google.golang.org/api release for next week, or the following week.

Oh, that makes sense. Thanks for checking! After the storagePools field is released, you may want to follow the instruction to make a PR to update the dependencies in providers first and get that PR merged and then continue with the work on this feature in this PR. Please let me know if you have any questions. Thanks!

@github-actions github-actions bot requested a review from shuyama1 August 21, 2024 20:09
@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Aug 21, 2024
@amacaskill
Copy link
Contributor Author

@shuyama1 Looks like the most recent release is 0v.191.0 and it doesn't have storagePools field yet in NodeConfig. pkg.go.dev/google.golang.org/api@v0.191.0/container/v1#NodeConfig. I'm hoping it will make it into the google.golang.org/api release for next week, or the following week.

Oh, that makes sense. Thanks for checking! After the storagePools field is released, you may want to follow the instruction to make a PR to update the dependencies in providers first and get that PR merged and then continue with the work on this feature in this PR. Please let me know if you have any questions. Thanks!

I added PR to update the generated client: #11520. After this is merged, I will rebase this PR on main

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shuyama1 Looks like the most recent release is 0v.191.0 and it doesn't have storagePools field yet in NodeConfig. pkg.go.dev/google.golang.org/api@v0.191.0/container/v1#NodeConfig. I'm hoping it will make it into the google.golang.org/api release for next week, or the following week.

Oh, that makes sense. Thanks for checking! After the storagePools field is released, you may want to follow the instruction to make a PR to update the dependencies in providers first and get that PR merged and then continue with the work on this feature in this PR. Please let me know if you have any questions. Thanks!

I added PR to update the generated client: #11520. After this is merged, I will rebase this PR on main

Thank you! I'll trigger the test for this PR after #11520 is merged

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 7 files changed, 410 insertions(+), 57 deletions(-))
google-beta provider: Diff ( 7 files changed, 410 insertions(+), 57 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 3907
Passed tests: 2857
Skipped tests: 411
Affected tests: 639

Click here to see the affected service packages

All service packages are affected

Action taken

Found 639 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccComputeAddress_addressBasicExample
  • TestAccComputeAddress_addressWithGceEndpointExample
  • TestAccComputeAddress_addressWithSharedLoadbalancerVipExample
  • TestAccComputeAddress_addressWithSubnetworkExample
  • TestAccComputeAddress_computeAddressIpsecInterconnectExample
  • TestAccComputeAddress_instanceWithIpExample
  • TestAccComputeAddress_internal
  • TestAccComputeAddress_internalIpv6
  • TestAccComputeAttachedDisk_basic
  • TestAccComputeAttachedDisk_count
  • TestAccComputeAttachedDisk_full
  • TestAccComputeAttachedDisk_region
  • TestAccComputeAttachedDisk_zoneless
  • TestAccComputeAutoscaler_autoscalerBasicExample
  • TestAccComputeAutoscaler_autoscalerSingleInstanceExample
  • TestAccComputeAutoscaler_multicondition
  • TestAccComputeAutoscaler_scaleDownControl
  • TestAccComputeAutoscaler_scaleInControl
  • TestAccComputeAutoscaler_scaleInControlFixed
  • TestAccComputeAutoscaler_scalingSchedule
  • TestAccComputeAutoscaler_update
  • TestAccComputeBackendBucketIamBindingGenerated
  • TestAccComputeBackendBucketIamMemberGenerated
  • TestAccComputeBackendBucketIamPolicyGenerated
  • TestAccComputeBackendBucketSignedUrlKey_basic
  • TestAccComputeBackendBucket_backendBucketBasicExample
  • TestAccComputeBackendBucket_backendBucketBypassCacheExample
  • TestAccComputeBackendBucket_backendBucketCoalescingExample
  • TestAccComputeBackendBucket_backendBucketFullExample
  • TestAccComputeBackendBucket_backendBucketIncludeHttpHeadersExample
  • TestAccComputeBackendBucket_backendBucketQueryStringWhitelistExample
  • TestAccComputeBackendBucket_backendBucketSecurityPolicyExample
  • TestAccComputeBackendBucket_basicModified
  • TestAccComputeBackendBucket_externalCdnLbWithBackendBucketExample
  • TestAccComputeBackendBucket_withCdnCacheMode_update
  • TestAccComputeBackendBucket_withCdnPolicy
  • TestAccComputeBackendBucket_withCompressionMode
  • TestAccComputeBackendBucket_withSecurityPolicy
  • TestAccComputeBackendServiceIamBindingGenerated
  • TestAccComputeBackendServiceIamBindingGenerated_withCondition
  • TestAccComputeBackendServiceIamMemberGenerated
  • TestAccComputeBackendServiceIamMemberGenerated_withCondition
  • TestAccComputeBackendServiceIamPolicyGenerated
  • TestAccComputeBackendServiceIamPolicyGenerated_withCondition
  • TestAccComputeBackendServiceSignedUrlKey_basic
  • TestAccComputeBackendService_backendServiceBasicExample
  • TestAccComputeBackendService_backendServiceCacheBypassCacheOnRequestHeadersExample
  • TestAccComputeBackendService_backendServiceCacheExample
  • TestAccComputeBackendService_backendServiceCacheIncludeHttpHeadersExample
  • TestAccComputeBackendService_backendServiceCacheIncludeNamedCookiesExample
  • TestAccComputeBackendService_backendServiceCacheSimpleExample
  • TestAccComputeBackendService_backendServiceExternalManagedExample
  • TestAccComputeBackendService_backendServiceNetworkEndpointExample
  • TestAccComputeBackendService_backendServiceTrafficDirectorRingHashExample
  • TestAccComputeBackendService_backendServiceTrafficDirectorRoundRobinExample
  • TestAccComputeBackendService_basic
  • TestAccComputeBackendService_regionNegBackend
  • TestAccComputeBackendService_trafficDirectorUpdateBasic
  • TestAccComputeBackendService_trafficDirectorUpdateFull
  • TestAccComputeBackendService_trafficDirectorUpdateLbPolicies
  • TestAccComputeBackendService_updatePreservesOptionalParameters
  • TestAccComputeBackendService_withAffinityCookieTtlSec
  • TestAccComputeBackendService_withBackend
  • TestAccComputeBackendService_withBackendAndIAP
  • TestAccComputeBackendService_withBackendAndMaxUtilization
  • TestAccComputeBackendService_withCDNEnabled
  • TestAccComputeBackendService_withCdnPolicy
  • TestAccComputeBackendService_withClientTlsPolicy
  • TestAccComputeBackendService_withCompressionMode
  • TestAccComputeBackendService_withConnectionDraining
  • TestAccComputeBackendService_withConnectionDrainingAndUpdate
  • TestAccComputeBackendService_withCustomHeaders
  • TestAccComputeBackendService_withHttpsHealthCheck
  • TestAccComputeBackendService_withLogConfig
  • TestAccComputeBackendService_withMaxConnections
  • TestAccComputeBackendService_withMaxConnectionsPerEndpoint
  • TestAccComputeBackendService_withMaxConnectionsPerInstance
  • TestAccComputeBackendService_withMaxRatePerEndpoint
  • TestAccComputeBackendService_withPrivateOriginAuth
  • TestAccComputeBackendService_withSecurityPolicy
  • TestAccComputeBackendService_withSessionAffinity
  • TestAccComputeDiskAsyncReplication
  • TestAccComputeDiskIamBindingGenerated
  • TestAccComputeDiskIamMemberGenerated
  • TestAccComputeDiskIamPolicyGenerated
  • TestAccComputeDiskResourcePolicyAttachment_diskResourcePolicyAttachmentBasicExample
  • TestAccComputeDiskResourcePolicyAttachment_update
  • TestAccComputeDisk_accessModeSpecified
  • TestAccComputeDisk_cloneDisk
  • TestAccComputeDisk_deleteDetach
  • TestAccComputeDisk_diskAsyncExample
  • TestAccComputeDisk_diskBasicExample
  • TestAccComputeDisk_diskFeaturesExample
  • TestAccComputeDisk_encryption
  • TestAccComputeDisk_encryptionKMS
  • TestAccComputeDisk_encryptionWithRSAEncryptedKey
  • TestAccComputeDisk_featuresUpdated
  • TestAccComputeDisk_fromSnapshot
  • TestAccComputeDisk_fromTypeUrl
  • TestAccComputeDisk_multiWriter
  • TestAccComputeDisk_pdExtremeImplicitProvisionedIops
  • TestAccComputeDisk_pdHyperDiskEnableConfidentialCompute
  • TestAccComputeDisk_pdHyperDiskProvisionedIopsLifeCycle
  • TestAccComputeDisk_pdHyperDiskProvisionedThroughputLifeCycle
  • TestAccComputeDisk_resourcePolicies
  • TestAccComputeDisk_update
  • TestAccComputeDisk_updateResourcePolicies
  • TestAccComputeExternalVPNGateway_updateLabels
  • TestAccComputeExternalVpnGateway_onlyExternalVpnGatewayFullExample
  • TestAccComputeFirewallPolicyRule_BasicFirSecRuleHandWritten
  • TestAccComputeFirewallPolicyRule_multipleRules
  • TestAccComputeFirewallPolicyRule_securityProfileGroup_update
  • TestAccComputeFirewallPolicyRule_update
  • TestAccComputeFirewall_moduleOutput
  • TestAccComputeForwardingRule_forwardingRuleExternallbExample
  • TestAccComputeForwardingRule_forwardingRuleGlobalInternallbExample
  • TestAccComputeForwardingRule_forwardingRuleHttpLbExample
  • TestAccComputeForwardingRule_forwardingRuleInternallbExample
  • TestAccComputeForwardingRule_forwardingRuleInternallbIpv6Example
  • TestAccComputeForwardingRule_forwardingRuleIpAddressIpv6
  • TestAccComputeForwardingRule_forwardingRuleL3DefaultExample
  • TestAccComputeForwardingRule_forwardingRulePscRecreate
  • TestAccComputeForwardingRule_forwardingRuleRegionalHttpXlbExample
  • TestAccComputeForwardingRule_forwardingRuleRegionalSteeringExample
  • TestAccComputeForwardingRule_forwardingRuleRegionalSteeringExampleUpdate
  • TestAccComputeForwardingRule_forwardingRuleVpcPscExample
  • TestAccComputeForwardingRule_forwardingRuleVpcPscExampleUpdate
  • TestAccComputeForwardingRule_forwardingRuleVpcPscNoAutomateDnsExample
  • TestAccComputeForwardingRule_internalHttpLbWithMigBackendExample
  • TestAccComputeForwardingRule_internalTcpUdpLbWithMigBackendExample
  • TestAccComputeForwardingRule_internalTcpUdpLbWithMigBackendExampleUpdate
  • TestAccComputeForwardingRule_ip
  • TestAccComputeForwardingRule_serviceDirectoryRegistrations
  • TestAccComputeGlobalAddress_globalAddressBasicExample
  • TestAccComputeGlobalAddress_globalAddressPrivateServicesConnectExample
  • TestAccComputeGlobalAddress_internal
  • TestAccComputeGlobalAddress_ipv6
  • TestAccComputeGlobalAddress_update
  • TestAccComputeGlobalForwardingRule_externalHttpLbMigBackendCustomHeaderExample
  • TestAccComputeGlobalForwardingRule_externalTcpProxyLbMigBackendExample
  • TestAccComputeGlobalForwardingRule_globalForwardingRuleExternalManagedExample
  • TestAccComputeGlobalForwardingRule_globalForwardingRuleHttpExample
  • TestAccComputeGlobalForwardingRule_globalForwardingRuleHybridExample
  • TestAccComputeGlobalForwardingRule_globalForwardingRuleInternalExample
  • TestAccComputeGlobalForwardingRule_globalInternalHttpLbWithMigBackendExample
  • TestAccComputeGlobalForwardingRule_internalLoadBalancing
  • TestAccComputeGlobalForwardingRule_ipv6
  • TestAccComputeGlobalForwardingRule_labels
  • TestAccComputeGlobalForwardingRule_privateServiceConnectGoogleApisExample
  • TestAccComputeGlobalForwardingRule_privateServiceConnectGoogleApisNoAutomateDnsExample
  • TestAccComputeGlobalForwardingRule_updateTarget
  • TestAccComputeImageIamBindingGenerated
  • TestAccComputeImageIamBindingGenerated_withCondition
  • TestAccComputeImageIamMemberGenerated
  • TestAccComputeImageIamMemberGenerated_withCondition
  • TestAccComputeImageIamPolicyGenerated
  • TestAccComputeImageIamPolicyGenerated_withCondition
  • TestAccComputeImage_basedondisk
  • TestAccComputeImage_imageBasicExample
  • TestAccComputeImage_imageBasicStorageLocationExample
  • TestAccComputeImage_imageEncryptionKey
  • TestAccComputeImage_imageGuestOsExample
  • TestAccComputeImage_resolveImage
  • TestAccComputeImage_sourceImage
  • TestAccComputeImage_sourceSnapshot
  • TestAccComputeImage_update
  • TestAccComputeImage_withLicense
  • TestAccComputeInstanceConfidentialInstanceConfigMain
  • TestAccComputeInstanceFromMachineImageWithOverride_localSsdRecoveryTimeout
  • TestAccComputeInstanceFromMachineImageWithOverride_partnerMetadata
  • TestAccComputeInstanceFromMachineImage_basic
  • TestAccComputeInstanceFromMachineImage_confidentialInstanceConfigMain
  • TestAccComputeInstanceFromMachineImage_diffProject
  • TestAccComputeInstanceFromMachineImage_localSsdRecoveryTimeout
  • TestAccComputeInstanceFromMachineImage_maxRunDuration
  • TestAccComputeInstanceFromMachineImage_overrideMetadataDotStartupScript
  • TestAccComputeInstanceFromRegionTemplate_basic
  • TestAccComputeInstanceFromTemplateWithOverride_localSsdRecoveryTimeout
  • TestAccComputeInstanceFromTemplateWithOverride_partnerMetadata
  • TestAccComputeInstanceFromTemplate_basic
  • TestAccComputeInstanceFromTemplate_confidentialInstanceConfigMain
  • TestAccComputeInstanceFromTemplate_localSsdRecoveryTimeout
  • TestAccComputeInstanceFromTemplate_maxRunDuration_onInstanceStopAction
  • TestAccComputeInstanceFromTemplate_overrideAttachedDisk
  • TestAccComputeInstanceFromTemplate_overrideBootDisk
  • TestAccComputeInstanceFromTemplate_overrideMetadataDotStartupScript
  • TestAccComputeInstanceFromTemplate_overrideScheduling
  • TestAccComputeInstanceFromTemplate_overrideScratchDisk
  • TestAccComputeInstanceFromTemplate_partnerMetadata
  • TestAccComputeInstanceFromTemplate_self_link_unique
  • TestAccComputeInstanceGroup_basic
  • TestAccComputeInstanceGroup_network
  • TestAccComputeInstanceGroup_outOfOrderInstances
  • TestAccComputeInstanceGroup_rename
  • TestAccComputeInstanceGroup_update
  • TestAccComputeInstanceIamBindingGenerated
  • TestAccComputeInstanceIamBindingGenerated_withCondition
  • TestAccComputeInstanceIamMemberGenerated
  • TestAccComputeInstanceIamMemberGenerated_withCondition
  • TestAccComputeInstanceIamPolicy
  • TestAccComputeInstanceIamPolicyGenerated
  • TestAccComputeInstanceIamPolicyGenerated_withCondition
  • TestAccComputeInstanceTemplate_AdvancedMachineFeatures
  • TestAccComputeInstanceTemplate_ConfidentialInstanceConfigMain
  • TestAccComputeInstanceTemplate_EncryptKMS
  • TestAccComputeInstanceTemplate_IP
  • TestAccComputeInstanceTemplate_IPv6
  • TestAccComputeInstanceTemplate_NetworkAttachment
  • TestAccComputeInstanceTemplate_basic
  • TestAccComputeInstanceTemplate_diskIops
  • TestAccComputeInstanceTemplate_diskResourcePolicies
  • TestAccComputeInstanceTemplate_disks
  • TestAccComputeInstanceTemplate_disksInvalid
  • TestAccComputeInstanceTemplate_enableDisplay
  • TestAccComputeInstanceTemplate_guestAccelerator
  • TestAccComputeInstanceTemplate_guestAcceleratorSkip
  • TestAccComputeInstanceTemplate_imageShorthand
  • TestAccComputeInstanceTemplate_instanceResourcePolicies
  • TestAccComputeInstanceTemplate_localSsdRecoveryTimeout
  • TestAccComputeInstanceTemplate_maintenance_interval
  • TestAccComputeInstanceTemplate_managedEnvoy
  • TestAccComputeInstanceTemplate_maxRunDuration_onInstanceStopAction
  • TestAccComputeInstanceTemplate_metadata_startup_script
  • TestAccComputeInstanceTemplate_minCpuPlatform
  • TestAccComputeInstanceTemplate_networkIP
  • TestAccComputeInstanceTemplate_networkIPAddress
  • TestAccComputeInstanceTemplate_networkTier
  • TestAccComputeInstanceTemplate_nictype_update
  • TestAccComputeInstanceTemplate_partnerMetadata
  • TestAccComputeInstanceTemplate_preemptible
  • TestAccComputeInstanceTemplate_primaryAliasIpRange
  • TestAccComputeInstanceTemplate_queueCount
  • TestAccComputeInstanceTemplate_regionDisks
  • TestAccComputeInstanceTemplate_reservationAffinities
  • TestAccComputeInstanceTemplate_resourceManagerTags
  • TestAccComputeInstanceTemplate_secondaryAliasIpRange
  • TestAccComputeInstanceTemplate_shieldedVmConfig1
  • TestAccComputeInstanceTemplate_shieldedVmConfig2
  • TestAccComputeInstanceTemplate_soleTenantNodeAffinities
  • TestAccComputeInstanceTemplate_sourceImageEncryptionKey
  • TestAccComputeInstanceTemplate_sourceSnapshotEncryptionKey
  • TestAccComputeInstanceTemplate_spot
  • TestAccComputeInstanceTemplate_spot_maxRunDuration
  • TestAccComputeInstanceTemplate_spot_maxRunDuration_deleteTerminationAction
  • TestAccComputeInstanceTemplate_spot_maxRunDuration_stopTerminationAction
  • TestAccComputeInstanceTemplate_subnet_auto
  • TestAccComputeInstanceTemplate_subnet_custom
  • TestAccComputeInstanceTemplate_with18TbScratchDisk
  • TestAccComputeInstanceTemplate_withScratchDisk
  • TestAccComputeInstance_IP
  • TestAccComputeInstance_IPv6
  • TestAccComputeInstance_NetworkAttachment
  • TestAccComputeInstance_NetworkAttachmentUpdate
  • TestAccComputeInstance_NicStackTypeUpdate
  • TestAccComputeInstance_PTRRecord
  • TestAccComputeInstance_advancedMachineFeatures
  • TestAccComputeInstance_aliasIpRangeCommonAddresses
  • TestAccComputeInstance_attachedDisk
  • TestAccComputeInstance_attachedDiskUpdate
  • TestAccComputeInstance_attachedDisk_modeRo
  • TestAccComputeInstance_attachedDisk_sourceUrl
  • TestAccComputeInstance_basic1
  • TestAccComputeInstance_basic2
  • TestAccComputeInstance_basic3
  • TestAccComputeInstance_basic4
  • TestAccComputeInstance_basic5
  • TestAccComputeInstance_bootDisk_mode
  • TestAccComputeInstance_bootDisk_source
  • TestAccComputeInstance_bootDisk_sourceUrl
  • TestAccComputeInstance_bootDisk_type
  • TestAccComputeInstance_deletionProtectionExplicitFalse
  • TestAccComputeInstance_deletionProtectionExplicitTrueAndUpdateFalse
  • TestAccComputeInstance_descriptionUpdate
  • TestAccComputeInstance_desiredStatusOnCreation
  • TestAccComputeInstance_desiredStatusTerminatedUpdateFields
  • TestAccComputeInstance_desiredStatusUpdateBasic
  • TestAccComputeInstance_diskEncryption
  • TestAccComputeInstance_diskEncryptionRestart
  • TestAccComputeInstance_enableDisplay
  • TestAccComputeInstance_forceChangeMachineTypeManually
  • TestAccComputeInstance_forceNewAndChangeMetadata
  • TestAccComputeInstance_guestAccelerator
  • TestAccComputeInstance_guestAcceleratorSkip
  • TestAccComputeInstance_hostname
  • TestAccComputeInstance_hyperdiskBootDisk_provisioned_iops_throughput
  • TestAccComputeInstance_internalIPv6
  • TestAccComputeInstance_ipv6ExternalReservation
  • TestAccComputeInstance_kmsDiskEncryption
  • TestAccComputeInstance_localSsdRecoveryTimeout
  • TestAccComputeInstance_localSsdRecoveryTimeout_update
  • TestAccComputeInstance_localSsdVM_maxRunDuration_stopTerminationAction
  • TestAccComputeInstance_machineTypeUrl
  • TestAccComputeInstance_maxRunDuration_update
  • TestAccComputeInstance_metadataStartupScript_update
  • TestAccComputeInstance_minCpuPlatform
  • TestAccComputeInstance_multiNic
  • TestAccComputeInstance_networkIPAuto
  • TestAccComputeInstance_networkIpUpdate
  • TestAccComputeInstance_networkPerformanceConfig
  • TestAccComputeInstance_networkTier
  • TestAccComputeInstance_network_ip_custom
  • TestAccComputeInstance_nictype_update
  • TestAccComputeInstance_noServiceAccount
  • TestAccComputeInstance_partnerMetadata
  • TestAccComputeInstance_partnerMetadata_deletePartnerMetadata
  • TestAccComputeInstance_partnerMetadata_update
  • TestAccComputeInstance_primaryAliasIpRange
  • TestAccComputeInstance_private_image_family
  • TestAccComputeInstance_queueCount
  • TestAccComputeInstance_regionBootDisk
  • TestAccComputeInstance_reservationAffinities
  • TestAccComputeInstance_resourceManagerTags
  • TestAccComputeInstance_resourcePolicyCollocate
  • TestAccComputeInstance_resourcePolicyUpdate
  • TestAccComputeInstance_scheduling
  • TestAccComputeInstance_secondaryAliasIpRange
  • TestAccComputeInstance_serviceAccount
  • TestAccComputeInstance_serviceAccountEmail_0scopes
  • TestAccComputeInstance_serviceAccount_updated
  • TestAccComputeInstance_serviceAccount_updated0to1to0scopes
  • TestAccComputeInstance_shieldedVmConfig
  • TestAccComputeInstance_soleTenantNodeAffinities
  • TestAccComputeInstance_spotVM
  • TestAccComputeInstance_spotVM_maxRunDuration_deleteTerminationAction
  • TestAccComputeInstance_spotVM_maxRunDuration_update
  • TestAccComputeInstance_spotVM_update
  • TestAccComputeInstance_standardVM_maxRunDuration_deleteTerminationAction
  • TestAccComputeInstance_standardVM_maxRunDuration_stopTerminationAction
  • TestAccComputeInstance_stopInstanceToUpdate
  • TestAccComputeInstance_subnet_auto
  • TestAccComputeInstance_subnet_custom
  • TestAccComputeInstance_subnetworkUpdate
  • TestAccComputeInstance_update
  • TestAccComputeInstance_updateRunning_desiredStatusNotSet_notAllowStoppingForUpdate
  • TestAccComputeInstance_updateRunning_desiredStatusRunning_allowStoppingForUpdate
  • TestAccComputeInstance_updateRunning_desiredStatusRunning_notAllowStoppingForUpdate
  • TestAccComputeInstance_updateRunning_desiredStatusTerminated_allowStoppingForUpdate
  • TestAccComputeInstance_updateRunning_desiredStatusTerminated_notAllowStoppingForUpdate
  • TestAccComputeInstance_updateTerminated_desiredStatusNotSet_allowStoppingForUpdate
  • TestAccComputeInstance_updateTerminated_desiredStatusNotSet_notAllowStoppingForUpdate
  • TestAccComputeInstance_updateTerminated_desiredStatusRunning_allowStoppingForUpdate
  • TestAccComputeInstance_updateTerminated_desiredStatusRunning_notAllowStoppingForUpdate
  • TestAccComputeInstance_updateTerminated_desiredStatusTerminated_allowStoppingForUpdate
  • TestAccComputeInstance_updateTerminated_desiredStatusTerminated_notAllowStoppingForUpdate
  • TestAccComputeInstance_with375GbScratchDisk
  • TestAccComputeInterconnectAttachment_computeInterconnectAttachmentIpsecEncryptionExample
  • TestAccComputeInterconnectAttachment_interconnectAttachmentDedicatedExample
  • TestAccComputeMachineImageIamBindingGenerated
  • TestAccComputeMachineImageIamBindingGenerated_withCondition
  • TestAccComputeMachineImageIamMemberGenerated
  • TestAccComputeMachineImageIamMemberGenerated_withCondition
  • TestAccComputeMachineImageIamPolicyGenerated
  • TestAccComputeMachineImageIamPolicyGenerated_withCondition
  • TestAccComputeMachineImage_computeMachineImageKmsExample
  • TestAccComputeMachineImage_machineImageBasicExample
  • TestAccComputeManagedSslCertificate_managedSslCertificateBasicExample
  • TestAccComputeNetworkAttachment_networkAttachmentBasicExample
  • TestAccComputeNetworkAttachment_networkAttachmentInstanceUsageExample
  • TestAccComputeNetworkEndpointGroup_internalEndpoint
  • TestAccComputeNetworkFirewallPolicyRule_GlobalHandWritten
  • TestAccComputeNetworkFirewallPolicyRule_securityProfileGroup_update
  • TestAccComputeNetworkFirewallPolicyRule_update
  • TestAccComputeNodeGroup_nodeGroupShareSettingsExample
  • TestAccComputePacketMirroring_computePacketMirroringFullExample
  • TestAccComputePerInstanceConfig_removeInstanceOnDestroy
  • TestAccComputePerInstanceConfig_statefulIps
  • TestAccComputePerInstanceConfig_update
  • TestAccComputeProjectCloudArmorTier_basic
  • TestAccComputeProjectCloudArmorTier_modify
  • TestAccComputeProjectDefaultNetworkTier_basic
  • TestAccComputeProjectDefaultNetworkTier_modify
  • TestAccComputeProjectMetadata_basic
  • TestAccComputeProjectMetadata_modify_1
  • TestAccComputeProjectMetadata_modify_2
  • TestAccComputeRegionAutoscaler_regionAutoscalerBasicExample
  • TestAccComputeRegionAutoscaler_scaleDownControl
  • TestAccComputeRegionAutoscaler_scaleInControl
  • TestAccComputeRegionAutoscaler_scalingSchedule
  • TestAccComputeRegionAutoscaler_update
  • TestAccComputeRegionBackendServiceIamBindingGenerated
  • TestAccComputeRegionBackendServiceIamBindingGenerated_withCondition
  • TestAccComputeRegionBackendServiceIamMemberGenerated
  • TestAccComputeRegionBackendServiceIamMemberGenerated_withCondition
  • TestAccComputeRegionBackendServiceIamPolicyGenerated
  • TestAccComputeRegionBackendServiceIamPolicyGenerated_withCondition
  • TestAccComputeRegionBackendService_UDPFailOverPolicyUpdate
  • TestAccComputeRegionBackendService_basic
  • TestAccComputeRegionBackendService_ilbBasic_withUnspecifiedProtocol
  • TestAccComputeRegionBackendService_ilbUpdateBasic
  • TestAccComputeRegionBackendService_ilbUpdateFull
  • TestAccComputeRegionBackendService_regionBackendServiceBalancingModeExample
  • TestAccComputeRegionBackendService_regionBackendServiceBasicExample
  • TestAccComputeRegionBackendService_regionBackendServiceCacheExample
  • TestAccComputeRegionBackendService_regionBackendServiceConnectionTrackingExample
  • TestAccComputeRegionBackendService_regionBackendServiceExternalExample
  • TestAccComputeRegionBackendService_regionBackendServiceExternalIapExample
  • TestAccComputeRegionBackendService_regionBackendServiceExternalWeightedExample
  • TestAccComputeRegionBackendService_regionBackendServiceIlbRingHashExample
  • TestAccComputeRegionBackendService_regionBackendServiceIlbRoundRobinExample
  • TestAccComputeRegionBackendService_subsettingUpdate
  • TestAccComputeRegionBackendService_withBackendAndIAP
  • TestAccComputeRegionBackendService_withBackendInternal
  • TestAccComputeRegionBackendService_withBackendInternalManaged
  • TestAccComputeRegionBackendService_withBackendMultiNic
  • TestAccComputeRegionBackendService_withConnectionDrainingAndUpdate
  • TestAccComputeRegionBackendService_withSecurityPolicy
  • TestAccComputeRegionDiskIamBindingGenerated
  • TestAccComputeRegionDiskIamMemberGenerated
  • TestAccComputeRegionDiskIamPolicyGenerated
  • TestAccComputeRegionDiskResourcePolicyAttachment_regionDiskResourcePolicyAttachmentBasicExample
  • TestAccComputeRegionDisk_basic
  • TestAccComputeRegionDisk_basicUpdate
  • TestAccComputeRegionDisk_cloneDisk
  • TestAccComputeRegionDisk_deleteDetach
  • TestAccComputeRegionDisk_encryption
  • TestAccComputeRegionDisk_featuresUpdated
  • TestAccComputeRegionDisk_regionDiskAsyncExample
  • TestAccComputeRegionDisk_regionDiskBasicExample
  • TestAccComputeRegionDisk_regionDiskFeaturesExample
  • TestAccComputeRegionInstanceTemplate_AdvancedMachineFeatures
  • TestAccComputeRegionInstanceTemplate_ConfidentialInstanceConfigMain
  • TestAccComputeRegionInstanceTemplate_IP
  • TestAccComputeRegionInstanceTemplate_IPv6
  • TestAccComputeRegionInstanceTemplate_basic
  • TestAccComputeRegionInstanceTemplate_diskIops
  • TestAccComputeRegionInstanceTemplate_diskResourcePolicies
  • TestAccComputeRegionInstanceTemplate_disksInvalid
  • TestAccComputeRegionInstanceTemplate_enableDisplay
  • TestAccComputeRegionInstanceTemplate_guestAccelerator
  • TestAccComputeRegionInstanceTemplate_guestAcceleratorSkip
  • TestAccComputeRegionInstanceTemplate_imageShorthand
  • TestAccComputeRegionInstanceTemplate_instanceResourcePolicies
  • TestAccComputeRegionInstanceTemplate_localSsdRecoveryTimeout
  • TestAccComputeRegionInstanceTemplate_maintenance_interval
  • TestAccComputeRegionInstanceTemplate_managedEnvoy
  • TestAccComputeRegionInstanceTemplate_maxRunDuration_onInstanceStopAction
  • TestAccComputeRegionInstanceTemplate_metadata_startup_script
  • TestAccComputeRegionInstanceTemplate_minCpuPlatform
  • TestAccComputeRegionInstanceTemplate_networkIP
  • TestAccComputeRegionInstanceTemplate_networkIPAddress
  • TestAccComputeRegionInstanceTemplate_networkTier
  • TestAccComputeRegionInstanceTemplate_nictype_update
  • TestAccComputeRegionInstanceTemplate_preemptible
  • TestAccComputeRegionInstanceTemplate_primaryAliasIpRange
  • TestAccComputeRegionInstanceTemplate_queueCount
  • TestAccComputeRegionInstanceTemplate_regionDisks
  • TestAccComputeRegionInstanceTemplate_reservationAffinities
  • TestAccComputeRegionInstanceTemplate_resourceManagerTags
  • TestAccComputeRegionInstanceTemplate_secondaryAliasIpRange
  • TestAccComputeRegionInstanceTemplate_shieldedVmConfig1
  • TestAccComputeRegionInstanceTemplate_shieldedVmConfig2
  • TestAccComputeRegionInstanceTemplate_soleTenantNodeAffinities
  • TestAccComputeRegionInstanceTemplate_sourceImageEncryptionKey
  • TestAccComputeRegionInstanceTemplate_sourceSnapshotEncryptionKey
  • TestAccComputeRegionInstanceTemplate_spot
  • TestAccComputeRegionInstanceTemplate_spot_maxRunDuration
  • TestAccComputeRegionInstanceTemplate_subnet_auto
  • TestAccComputeRegionInstanceTemplate_subnet_custom
  • TestAccComputeRegionInstanceTemplate_with18TbScratchDisk
  • TestAccComputeRegionInstanceTemplate_withScratchDisk
  • TestAccComputeRegionNetworkEndpointGroup_negWithServerlessDeployment
  • TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupAppengineExample
  • TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupFunctionsExample
  • TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupPscServiceAttachmentExample
  • TestAccComputeRegionNetworkEndpoint_regionNetworkEndpointPortmapExample
  • TestAccComputeRegionNetworkFirewallPolicyRule_RegionalHandWritten
  • TestAccComputeRegionPerInstanceConfig_removeInstanceOnDestroy
  • TestAccComputeRegionPerInstanceConfig_statefulIps
  • TestAccComputeRegionPerInstanceConfig_update
  • TestAccComputeRegionTargetHttpProxy_regionTargetHttpProxyBasicExample
  • TestAccComputeRegionTargetHttpProxy_update
  • TestAccComputeRegionTargetHttpsProxy_addServerTlsPolicy_withForwardingRule
  • TestAccComputeRegionTargetHttpsProxy_addSslPolicy_withForwardingRule
  • TestAccComputeRegionTargetHttpsProxy_regionTargetHttpsProxyBasicExample
  • TestAccComputeRegionTargetHttpsProxy_regionTargetHttpsProxyCertificateManagerCertificateExample
  • TestAccComputeRegionTargetHttpsProxy_regionTargetHttpsProxyMtlsExample
  • TestAccComputeRegionTargetHttpsProxy_update
  • TestAccComputeRegionTargetTcpProxy_regionTargetTcpProxyBasicExample
  • TestAccComputeRegionTargetTcpProxy_update
  • TestAccComputeRegionUrlMap_advanced
  • TestAccComputeRegionUrlMap_defaultRouteAction_full_update
  • TestAccComputeRegionUrlMap_ilbPathUpdate
  • TestAccComputeRegionUrlMap_ilbRouteUpdate
  • TestAccComputeRegionUrlMap_noPathRulesWithUpdate
  • TestAccComputeRegionUrlMap_regionUrlMapBasicExample
  • TestAccComputeRegionUrlMap_regionUrlMapDefaultRouteActionExample
  • TestAccComputeRegionUrlMap_regionUrlMapL7IlbPathExample
  • TestAccComputeRegionUrlMap_regionUrlMapL7IlbPathPartialExample
  • TestAccComputeRegionUrlMap_regionUrlMapL7IlbRouteExample
  • TestAccComputeRegionUrlMap_regionUrlMapL7IlbRoutePartialExample
  • TestAccComputeRegionUrlMap_regionUrlMapPathTemplateMatchExample
  • TestAccComputeRegionUrlMap_update_path_matcher
  • TestAccComputeRegionalInstanceTemplate_partnerMetadata
  • TestAccComputeResizeRequest_computeMigResizeRequestExample
  • TestAccComputeResourcePolicy_attached
  • TestAccComputeResourceUsageExportBucket
  • TestAccComputeRoute_hopInstance
  • TestAccComputeRoute_routeIlbExample
  • TestAccComputeRoute_routeIlbVipExample
  • TestAccComputeRouterBgpPeer_routerPeerRouterAppliance
  • TestAccComputeRouterInterface_basic
  • TestAccComputeRouterInterface_withPrivateIpAddress
  • TestAccComputeRouterInterface_withTunnel
  • TestAccComputeRouterNat_AutoNetworkTier
  • TestAccComputeRouterNat_update
  • TestAccComputeRouterNat_withManualIpAndSubnetConfiguration
  • TestAccComputeRouterNat_withNatIpsAndDrainNatIps
  • TestAccComputeRouterNat_withNatRules
  • TestAccComputeRouterNat_withPortAllocationMethods
  • TestAccComputeRouterNat_withPrivateNatAndEmptyAction
  • TestAccComputeRouterNat_withPrivateNatAndEmptyActionActiveRanges
  • TestAccComputeRouterNat_withPrivateNatAndRules
  • TestAccComputeRouterPeer_AddMd5AuthenticationKey
  • TestAccComputeRouterPeer_EnableDisableIpv6
  • TestAccComputeRouterPeer_Ipv4BasicCreateUpdate
  • TestAccComputeRouterPeer_Ipv6Basic
  • TestAccComputeRouterPeer_UpdateIpv6Address
  • TestAccComputeRouterPeer_UpdateMd5AuthenticationKey
  • TestAccComputeRouterPeer_addImportAndExportPolicy
  • TestAccComputeRouterPeer_advertiseMode
  • TestAccComputeRouterPeer_basic
  • TestAccComputeRouterPeer_bfd
  • TestAccComputeRouterPeer_enable
  • TestAccComputeRouterPeer_routerApplianceInstance
  • TestAccComputeSecurityPolicy_withRecaptchaOptionsConfig
  • TestAccComputeServiceAttachment_serviceAttachmentBasicExample
  • TestAccComputeServiceAttachment_serviceAttachmentBasicExampleGateway
  • TestAccComputeServiceAttachment_serviceAttachmentBasicExampleUpdate
  • TestAccComputeServiceAttachment_serviceAttachmentExplicitNetworksExample
  • TestAccComputeServiceAttachment_serviceAttachmentExplicitProjectsExample
  • TestAccComputeServiceAttachment_serviceAttachmentReconcileConnectionsExample
  • TestAccComputeSharedReservation_update
  • TestAccComputeSharedVpc_basic
  • TestAccComputeSnapshotIamBindingGenerated
  • TestAccComputeSnapshotIamMemberGenerated
  • TestAccComputeSnapshotIamPolicyGenerated
  • TestAccComputeSnapshot_encryption
  • TestAccComputeSnapshot_snapshotBasicExample
  • TestAccComputeSnapshot_snapshotChainnameExample
  • TestAccComputeSubnetwork_secondaryIpRanges
  • TestAccComputeSubnetwork_secondaryIpRanges_sendEmpty
  • TestAccComputeTargetGrpcProxy_targetGrpcProxyBasicExample
  • TestAccComputeTargetGrpcProxy_update
  • TestAccComputeTargetHttpProxy_targetHttpProxyBasicExample
  • TestAccComputeTargetHttpProxy_targetHttpProxyHttpKeepAliveTimeoutExample
  • TestAccComputeTargetHttpProxy_update
  • TestAccComputeTargetHttpsProxyServerTlsPolicy_update
  • TestAccComputeTargetHttpsProxy_certificateMap
  • TestAccComputeTargetHttpsProxy_targetHttpsProxyBasicExample
  • TestAccComputeTargetHttpsProxy_targetHttpsProxyCertificateManagerCertificateExample
  • TestAccComputeTargetHttpsProxy_targetHttpsProxyHttpKeepAliveTimeoutExample
  • TestAccComputeTargetHttpsProxy_targetHttpsProxyMtlsExample
  • TestAccComputeTargetHttpsProxy_update
  • TestAccComputeTargetInstance_targetInstanceBasicExample
  • TestAccComputeTargetInstance_targetInstanceCustomNetworkExample
  • TestAccComputeTargetInstance_targetInstanceWithSecurityPolicyExample
  • TestAccComputeTargetInstance_withSecurityPolicy
  • TestAccComputeTargetPool_basic
  • TestAccComputeTargetPool_update
  • TestAccComputeTargetSslProxy_targetSslProxyBasicExample
  • TestAccComputeTargetSslProxy_update
  • TestAccComputeTargetTcpProxy_targetTcpProxyBasicExample
  • TestAccComputeTargetTcpProxy_update
  • TestAccComputeUrlMap_advanced
  • TestAccComputeUrlMap_defaultRouteActionPathUrlRewrite
  • TestAccComputeUrlMap_defaultRouteActionTrafficDirectorPathUpdate
  • TestAccComputeUrlMap_defaultRouteActionTrafficDirectorUpdate
  • TestAccComputeUrlMap_defaultRouteActionUrlRewrite
  • TestAccComputeUrlMap_noPathRulesWithUpdate
  • TestAccComputeUrlMap_trafficDirectorPathUpdate
  • TestAccComputeUrlMap_trafficDirectorRemoveRouteRule
  • TestAccComputeUrlMap_trafficDirectorUpdate
  • TestAccComputeUrlMap_update_path_matcher
  • TestAccComputeUrlMap_urlMapBucketAndServiceExample
  • TestAccComputeUrlMap_urlMapCustomErrorResponsePolicyExample
  • TestAccComputeUrlMap_urlMapCustomErrorResponsePolicyUpdate
  • TestAccComputeUrlMap_urlMapHeaderBasedRoutingExample
  • TestAccComputeUrlMap_urlMapParameterBasedRoutingExample
  • TestAccComputeUrlMap_urlMapPathTemplateMatchExample
  • TestAccComputeUrlMap_urlMapTrafficDirectorPathExample
  • TestAccComputeUrlMap_urlMapTrafficDirectorPathPartialExample
  • TestAccComputeUrlMap_urlMapTrafficDirectorRouteExample
  • TestAccComputeUrlMap_urlMapTrafficDirectorRoutePartialExample
  • TestAccComputeVpnGateway_targetVpnGatewayBasicExample
  • TestAccComputeVpnTunnel_defaultTrafficSelectors
  • TestAccComputeVpnTunnel_regionFromGateway
  • TestAccComputeVpnTunnel_router
  • TestAccComputeVpnTunnel_vpnTunnelBasicExample
  • TestAccContainerCluster_storagePoolsWithNodeConfig
  • TestAccContainerCluster_storagePoolsWithNodePool
  • TestAccContainerNodePool_storagePools
  • TestAccContainerNodePool_withMachineDiskStoragePoolsUpdate
  • TestAccDataSourceComputeAddress
  • TestAccDataSourceComputeAddresses
  • TestAccDataSourceComputeBackendBucket_basic
  • TestAccDataSourceComputeBackendService_basic
  • TestAccDataSourceComputeGlobalAddress
  • TestAccDataSourceComputeImage
  • TestAccDataSourceComputeImageFilter
  • TestAccDataSourceComputeInstanceSerialPort_basic
  • TestAccDataSourceComputeInstance_basic
  • TestAccDataSourceComputeInstance_networkAttachmentUsageExample
  • TestAccDataSourceComputeRouterStatus
  • TestAccDataSourceGoogleComputeDisk_basic
  • TestAccDataSourceGoogleComputeInstanceGroupManager
  • TestAccDataSourceGoogleComputeInstanceGroup_basic
  • TestAccDataSourceGoogleComputeInstanceGroup_fromIGM
  • TestAccDataSourceGoogleComputeInstanceGroup_withNamedPort
  • TestAccDataSourceGoogleComputeRegionDisk_basic
  • TestAccInstanceGroupManager_autoHealingPolicies
  • TestAccInstanceGroupManager_basic
  • TestAccInstanceGroupManager_resourceManagerTags
  • TestAccInstanceGroupManager_self_link_unique
  • TestAccInstanceGroupManager_stateful
  • TestAccInstanceGroupManager_stoppedSuspendedTargetSize
  • TestAccInstanceGroupManager_targetSizeZero
  • TestAccInstanceGroupManager_update
  • TestAccInstanceGroupManager_versions
  • TestAccInstanceGroupManager_waitForStatus
  • TestAccInstanceTemplateDatasource_filter
  • TestAccInstanceTemplateDatasource_filter_mostRecent
  • TestAccInstanceTemplateDatasource_name
  • TestAccInstanceTemplateDatasource_self_link_unique
  • TestAccRegionInstanceGroupManager_APISideListRecordering
  • TestAccRegionInstanceGroupManager_autoHealingPolicies
  • TestAccRegionInstanceGroupManager_basic
  • TestAccRegionInstanceGroupManager_distributionPolicy
  • TestAccRegionInstanceGroupManager_resourceManagerTags
  • TestAccRegionInstanceGroupManager_stateful
  • TestAccRegionInstanceGroupManager_stoppedSuspendedTargetSize
  • TestAccRegionInstanceGroupManager_targetSizeZero
  • TestAccRegionInstanceGroupManager_update
  • TestAccRegionInstanceGroupManager_versions
  • TestAccRegionInstanceTemplateDatasource_filter
  • TestAccRegionInstanceTemplateDatasource_filter_mostRecent
  • TestAccRegionInstanceTemplateDatasource_name
  • TestAccSnapshotDatasource_filter
  • TestAccSnapshotDatasource_filterMostRecent
  • TestAccSnapshotDatasource_name

Get to know how VCR tests work

@amacaskill
Copy link
Contributor Author

@shuyama1 Looks like the most recent release is 0v.191.0 and it doesn't have storagePools field yet in NodeConfig. pkg.go.dev/google.golang.org/api@v0.191.0/container/v1#NodeConfig. I'm hoping it will make it into the google.golang.org/api release for next week, or the following week.

Oh, that makes sense. Thanks for checking! After the storagePools field is released, you may want to follow the instruction to make a PR to update the dependencies in providers first and get that PR merged and then continue with the work on this feature in this PR. Please let me know if you have any questions. Thanks!

I added PR to update the generated client: #11520. After this is merged, I will rebase this PR on main

Thank you! I'll trigger the test for this PR after #11520 is merged

I rebased the PR onto #11520, but both PRs are failing "
terraform-google-conversion-build-and-unit-tests". I didn't change those tests and I don't see how those changes are related to my PR. Can those be ignored? Or how do I go about fixing those?

@shuyama1
Copy link
Member

shuyama1 commented Aug 23, 2024

@shuyama1 Looks like the most recent release is 0v.191.0 and it doesn't have storagePools field yet in NodeConfig. pkg.go.dev/google.golang.org/api@v0.191.0/container/v1#NodeConfig. I'm hoping it will make it into the google.golang.org/api release for next week, or the following week.

Oh, that makes sense. Thanks for checking! After the storagePools field is released, you may want to follow the instruction to make a PR to update the dependencies in providers first and get that PR merged and then continue with the work on this feature in this PR. Please let me know if you have any questions. Thanks!

I added PR to update the generated client: #11520. After this is merged, I will rebase this PR on main

Thank you! I'll trigger the test for this PR after #11520 is merged

I rebased the PR onto #11520, but both PRs are failing " terraform-google-conversion-build-and-unit-tests". I didn't change those tests and I don't see how those changes are related to my PR. Can those be ignored? Or how do I go about fixing those?

The failure is not related to your change. It's already failed at head. Please ignore them. Sorry for the noise.

@shuyama1
Copy link
Member

VCR tests should be fixed. Triggering a rerun now.

/gcbrun

@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Aug 26, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 7 files changed, 410 insertions(+), 57 deletions(-))
google-beta provider: Diff ( 7 files changed, 410 insertions(+), 57 deletions(-))

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccContainerCluster_storagePoolsWithNodeConfig[Error message] [Debug log]
TestAccContainerCluster_storagePoolsWithNodePool[Error message] [Debug log]
TestAccContainerNodePool_storagePools[Error message] [Debug log]
TestAccContainerNodePool_withMachineDiskStoragePoolsUpdate[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 301 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 5 files changed, 301 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 208
Passed tests: 191
Skipped tests: 13
Affected tests: 4

Click here to see the affected service packages
  • container

Action taken

Found 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerCluster_storagePoolsWithNodeConfig
  • TestAccContainerCluster_storagePoolsWithNodePool
  • TestAccContainerNodePool_storagePools
  • TestAccContainerNodePool_withMachineDiskStoragePoolsUpdate

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccContainerCluster_storagePoolsWithNodeConfig[Error message] [Debug log]
TestAccContainerCluster_storagePoolsWithNodePool[Error message] [Debug log]
TestAccContainerNodePool_storagePools[Error message] [Debug log]
TestAccContainerNodePool_withMachineDiskStoragePoolsUpdate[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 301 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 5 files changed, 301 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 208
Passed tests: 191
Skipped tests: 13
Affected tests: 4

Click here to see the affected service packages
  • container

Action taken

Found 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerCluster_storagePoolsWithNodeConfig
  • TestAccContainerCluster_storagePoolsWithNodePool
  • TestAccContainerNodePool_storagePools
  • TestAccContainerNodePool_withMachineDiskStoragePoolsUpdate

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccContainerCluster_storagePoolsWithNodeConfig[Debug log]
TestAccContainerCluster_storagePoolsWithNodePool[Debug log]
TestAccContainerNodePool_withMachineDiskStoragePoolsUpdate[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccContainerNodePool_storagePools[Error message] [Debug log]

$\textcolor{red}{\textsf{Errors occurred during RECORDING mode. Please fix them to complete your PR.}}$

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 301 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 5 files changed, 301 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 208
Passed tests: 194
Skipped tests: 13
Affected tests: 1

Click here to see the affected service packages
  • container

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerNodePool_storagePools

Get to know how VCR tests work

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on the feature. Mostly good. Only some small comments and nit-picks

node_config {
machine_type = "c3-standard-4"
image_type = "COS_CONTAINERD"
storage_pools = ["%[5]s"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that this field accepts long form name? Let's keep the extractSPName for now as it shouldn't block the merge. I'll modify the bootstrap function to return the long form name and update the tests later.

Copy link
Contributor Author

@amacaskill amacaskill Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't accept URL name, only the long resource name. "projects/project/zones/zone/storagePools/SPName

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Thanks for confirming! I'll update the bootstrap function later. I initially intended for it to return the long form name but noticed it currently returns the URL instead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is now causing problems since it seems to have moved from v1 to beta? Maybe there's a reason it wasn't done this way to start with, but threw up #11832 for consideration

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccContainerNodePool_storagePools[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 300 insertions(+), 3 deletions(-))
google-beta provider: Diff ( 5 files changed, 300 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 208
Passed tests: 195
Skipped tests: 13
Affected tests: 0

Click here to see the affected service packages
  • container

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

Copy link
Member

@shuyama1 shuyama1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@shuyama1 shuyama1 merged commit c63ed44 into GoogleCloudPlatform:main Sep 9, 2024
10 checks passed
iyabchen pushed a commit to iyabchen/magic-modules that referenced this pull request Sep 14, 2024
abd-goog pushed a commit to abd-goog/magic-modules that referenced this pull request Sep 23, 2024
wyardley added a commit to wyardley/magic-modules that referenced this pull request Sep 26, 2024
Tests such as
`TestAccContainerNodePool_withDiskMachineAndStoragePoolUpdate` seem to
be failing, possibly due to being promoted from beta to v1

Rather than update the regex in extractSP, use
`tpgresource.GetRelativePath()` and return that from the bootstrap
method, as mentioned here:
GoogleCloudPlatform#11391 (comment)

See GoogleCloudPlatform#11391 and GoogleCloudPlatform#11598
niharika-98 pushed a commit to niharika-98/magic-modules that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants