Skip to content

add idp token options #125

add idp token options

add idp token options #125

Triggered via pull request February 24, 2025 16:32
Status Failure
Total duration 32s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Test: internal/provider/route_model.go#L183
cannot use src.IDPAccessTokenAllowedAudiences (variable of type "github.com/hashicorp/terraform-plugin-framework/types".Set) as "github.com/hashicorp/terraform-plugin-framework/types".List value in argument to ToRouteStringList
Test: internal/provider/route_model.go#L242
cannot use FromStringList(src.IdpAccessTokenAllowedAudiences) (value of type "github.com/hashicorp/terraform-plugin-framework/types".List) as "github.com/hashicorp/terraform-plugin-framework/types".Set value in assignment
Test
Process completed with exit code 2.
Lint: internal/provider/route_model.go#L183
cannot use src.IDPAccessTokenAllowedAudiences (variable of type "github.com/hashicorp/terraform-plugin-framework/types".Set) as "github.com/hashicorp/terraform-plugin-framework/types".List value in argument to ToRouteStringList
Lint: internal/provider/route_model.go#L242
cannot use FromStringList(src.IdpAccessTokenAllowedAudiences) (value of type "github.com/hashicorp/terraform-plugin-framework/types".List) as "github.com/hashicorp/terraform-plugin-framework/types".Set value in assignment (typecheck)
Lint: main.go#L10
could not import github.com/pomerium/enterprise-terraform-provider/internal/provider (-: # github.com/pomerium/enterprise-terraform-provider/internal/provider
Lint: internal/provider/route_model.go#L183
cannot use src.IDPAccessTokenAllowedAudiences (variable of type "github.com/hashicorp/terraform-plugin-framework/types".Set) as "github.com/hashicorp/terraform-plugin-framework/types".List value in argument to ToRouteStringList
Lint: internal/provider/route_model.go#L242
cannot use FromStringList(src.IdpAccessTokenAllowedAudiences) (value of type "github.com/hashicorp/terraform-plugin-framework/types".List) as "github.com/hashicorp/terraform-plugin-framework/types".Set value in assignment) (typecheck)
Lint: internal/provider/bootstrap_service_account_test.go#L7
could not import github.com/pomerium/enterprise-terraform-provider/internal/provider (-: # github.com/pomerium/enterprise-terraform-provider/internal/provider
Lint: internal/provider/route_model.go#L183
cannot use src.IDPAccessTokenAllowedAudiences (variable of type "github.com/hashicorp/terraform-plugin-framework/types".Set) as "github.com/hashicorp/terraform-plugin-framework/types".List value in argument to ToRouteStringList
Lint: internal/provider/route_model.go#L242
cannot use FromStringList(src.IdpAccessTokenAllowedAudiences) (value of type "github.com/hashicorp/terraform-plugin-framework/types".List) as "github.com/hashicorp/terraform-plugin-framework/types".Set value in assignment) (typecheck)
Lint
issues found