Skip to content

fix(vpc-address-prefix): Add address prefixes to the vpc resource and data sources #11180

fix(vpc-address-prefix): Add address prefixes to the vpc resource and data sources

fix(vpc-address-prefix): Add address prefixes to the vpc resource and data sources #11180

Triggered via pull request January 21, 2025 10:55
Status Failure
Total duration 2m 31s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Build: ibm/service/vpc/data_source_ibm_is_vpc.go#L625
undefined: context
Build: ibm/service/vpc/data_source_ibm_is_vpc.go#L625
not enough arguments in call to GetAddressPrefixPaginatedList
Build: ibm/service/vpc/data_source_ibm_is_vpc.go#L627
cannot use diagError (variable of type "github.com/hashicorp/terraform-plugin-sdk/v2/diag".Diagnostics) as error value in return statement: "github.com/hashicorp/terraform-plugin-sdk/v2/diag".Diagnostics does not implement error (missing method Error)
Build: ibm/service/vpc/data_source_ibm_is_vpc.go#L631
cannot use diag.FromErr(fmt.Errorf("[ERROR] Error setting address_prefixes %s", err)) (value of type "github.com/hashicorp/terraform-plugin-sdk/v2/diag".Diagnostics) as error value in return statement: "github.com/hashicorp/terraform-plugin-sdk/v2/diag".Diagnostics does not implement error (missing method Error)
Build: ibm/service/vpc/data_source_ibm_is_vpcs.go#L622
not enough arguments in call to GetAddressPrefixPaginatedList
Build: ibm/service/vpc/resource_ibm_is_vpc.go#L1002
use of package context not in selector
Build: ibm/service/vpc/resource_ibm_is_vpc.go#L1002
not enough arguments in call to GetAddressPrefixPaginatedList
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/terraform-provider-ibm/terraform-provider-ibm. Supported file pattern: go.sum