diff --git a/.changes/unreleased/Dependency-20250210-114404.yaml b/.changes/unreleased/Dependency-20250210-114404.yaml new file mode 100644 index 00000000..48799454 --- /dev/null +++ b/.changes/unreleased/Dependency-20250210-114404.yaml @@ -0,0 +1,3 @@ +kind: Dependency +body: Bump opslevel-go to 2025 +time: 2025-02-10T11:44:04.217554-06:00 diff --git a/go.mod b/go.mod index 09ee1275..8c7c5a6b 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/hashicorp/terraform-plugin-framework v1.13.0 github.com/hashicorp/terraform-plugin-framework-validators v0.16.0 github.com/hashicorp/terraform-plugin-log v0.9.0 - github.com/opslevel/opslevel-go/v2024 v2024.12.24 + github.com/opslevel/opslevel-go/v2025 v2025.2.10 github.com/relvacode/iso8601 v1.6.0 golang.org/x/net v0.34.0 ) @@ -52,4 +52,4 @@ require ( google.golang.org/protobuf v1.36.5 // indirect ) -replace github.com/opslevel/opslevel-go/v2024 => ./submodules/opslevel-go +replace github.com/opslevel/opslevel-go/v2025 => ./submodules/opslevel-go diff --git a/go.sum b/go.sum index 83c23d87..d7695ef6 100644 --- a/go.sum +++ b/go.sum @@ -116,8 +116,8 @@ github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w= github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= +github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8= github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok= github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= diff --git a/opslevel/common.go b/opslevel/common.go index 826b5d7d..fc13249e 100644 --- a/opslevel/common.go +++ b/opslevel/common.go @@ -15,8 +15,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) const providerIssueUrl = "https://github.com/OpsLevel/terraform-provider-opslevel/issues" diff --git a/opslevel/datasource_opslevel_domain.go b/opslevel/datasource_opslevel_domain.go index e4d86349..bb1ac475 100644 --- a/opslevel/datasource_opslevel_domain.go +++ b/opslevel/datasource_opslevel_domain.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure DomainDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_domains_all.go b/opslevel/datasource_opslevel_domains_all.go index 7291f4bd..f1407c01 100644 --- a/opslevel/datasource_opslevel_domains_all.go +++ b/opslevel/datasource_opslevel_domains_all.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure provider defined types fully satisfy framework interfaces. diff --git a/opslevel/datasource_opslevel_filter.go b/opslevel/datasource_opslevel_filter.go index 9bb27d34..63961299 100644 --- a/opslevel/datasource_opslevel_filter.go +++ b/opslevel/datasource_opslevel_filter.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure FilterDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_filters_all.go b/opslevel/datasource_opslevel_filters_all.go index 0b2adabc..348559cf 100644 --- a/opslevel/datasource_opslevel_filters_all.go +++ b/opslevel/datasource_opslevel_filters_all.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure provider defined types fully satisfy framework interfaces. diff --git a/opslevel/datasource_opslevel_integration.go b/opslevel/datasource_opslevel_integration.go index ca5b5f73..023f4980 100644 --- a/opslevel/datasource_opslevel_integration.go +++ b/opslevel/datasource_opslevel_integration.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure IntegrationDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_integrations_all.go b/opslevel/datasource_opslevel_integrations_all.go index c5e02e1e..f8e38e36 100644 --- a/opslevel/datasource_opslevel_integrations_all.go +++ b/opslevel/datasource_opslevel_integrations_all.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure IntegrationDataSourcesAll implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_lifecycle.go b/opslevel/datasource_opslevel_lifecycle.go index 71c4cd05..aa286567 100644 --- a/opslevel/datasource_opslevel_lifecycle.go +++ b/opslevel/datasource_opslevel_lifecycle.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure LifecycleDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_lifecycles_all.go b/opslevel/datasource_opslevel_lifecycles_all.go index 9ef62b66..30734247 100644 --- a/opslevel/datasource_opslevel_lifecycles_all.go +++ b/opslevel/datasource_opslevel_lifecycles_all.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure LifecycleDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_property_definition.go b/opslevel/datasource_opslevel_property_definition.go index f4a2aa6c..bb189cb3 100644 --- a/opslevel/datasource_opslevel_property_definition.go +++ b/opslevel/datasource_opslevel_property_definition.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure PropertyDefinitionDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_property_definitions_all.go b/opslevel/datasource_opslevel_property_definitions_all.go index 7926ba61..2bd1e1fa 100644 --- a/opslevel/datasource_opslevel_property_definitions_all.go +++ b/opslevel/datasource_opslevel_property_definitions_all.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure PropertyDefinitionDataSourcesAll implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_repositories_all.go b/opslevel/datasource_opslevel_repositories_all.go index 4ba35c27..bf1e0ce9 100644 --- a/opslevel/datasource_opslevel_repositories_all.go +++ b/opslevel/datasource_opslevel_repositories_all.go @@ -7,9 +7,8 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" - "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure RepositoryDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_repository.go b/opslevel/datasource_opslevel_repository.go index 0cdc3502..539776da 100644 --- a/opslevel/datasource_opslevel_repository.go +++ b/opslevel/datasource_opslevel_repository.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure RepositoryDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_rubric_categories.go b/opslevel/datasource_opslevel_rubric_categories.go index 10ec351a..150262e6 100644 --- a/opslevel/datasource_opslevel_rubric_categories.go +++ b/opslevel/datasource_opslevel_rubric_categories.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure CategoryDataSourcesAll implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_rubric_category.go b/opslevel/datasource_opslevel_rubric_category.go index c59f73e6..4e03c69f 100644 --- a/opslevel/datasource_opslevel_rubric_category.go +++ b/opslevel/datasource_opslevel_rubric_category.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure CategoryDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_rubric_level.go b/opslevel/datasource_opslevel_rubric_level.go index 8ce4036e..0bb3a9cd 100644 --- a/opslevel/datasource_opslevel_rubric_level.go +++ b/opslevel/datasource_opslevel_rubric_level.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure LevelDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_rubric_levels_all.go b/opslevel/datasource_opslevel_rubric_levels_all.go index 2d34db12..01421146 100644 --- a/opslevel/datasource_opslevel_rubric_levels_all.go +++ b/opslevel/datasource_opslevel_rubric_levels_all.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure LevelDataSourcesAll implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_scorecard.go b/opslevel/datasource_opslevel_scorecard.go index 2400b2c4..9d62f0c8 100644 --- a/opslevel/datasource_opslevel_scorecard.go +++ b/opslevel/datasource_opslevel_scorecard.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure ScorecardDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_scorecards_all.go b/opslevel/datasource_opslevel_scorecards_all.go index 6bb068cd..2dd7f398 100644 --- a/opslevel/datasource_opslevel_scorecards_all.go +++ b/opslevel/datasource_opslevel_scorecards_all.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure ScorecardDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_service.go b/opslevel/datasource_opslevel_service.go index 2e281168..ac5c9536 100644 --- a/opslevel/datasource_opslevel_service.go +++ b/opslevel/datasource_opslevel_service.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure ServiceDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_service_dependencies.go b/opslevel/datasource_opslevel_service_dependencies.go index a597a1b6..3ca3ab02 100644 --- a/opslevel/datasource_opslevel_service_dependencies.go +++ b/opslevel/datasource_opslevel_service_dependencies.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure ServiceDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_services_all.go b/opslevel/datasource_opslevel_services_all.go index d3cb4aef..77a40270 100644 --- a/opslevel/datasource_opslevel_services_all.go +++ b/opslevel/datasource_opslevel_services_all.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure ServiceDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_system.go b/opslevel/datasource_opslevel_system.go index 020ee938..496a2fe5 100644 --- a/opslevel/datasource_opslevel_system.go +++ b/opslevel/datasource_opslevel_system.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure SystemDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_systems_all.go b/opslevel/datasource_opslevel_systems_all.go index 6c3a3648..d9c068ec 100644 --- a/opslevel/datasource_opslevel_systems_all.go +++ b/opslevel/datasource_opslevel_systems_all.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ datasource.DataSourceWithConfigure = &SystemDataSourcesAll{} diff --git a/opslevel/datasource_opslevel_team.go b/opslevel/datasource_opslevel_team.go index 72b53993..98f4481c 100644 --- a/opslevel/datasource_opslevel_team.go +++ b/opslevel/datasource_opslevel_team.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure TeamDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_teams_all.go b/opslevel/datasource_opslevel_teams_all.go index cb0f3e83..c29a29b9 100644 --- a/opslevel/datasource_opslevel_teams_all.go +++ b/opslevel/datasource_opslevel_teams_all.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ datasource.DataSourceWithConfigure = &TeamDataSourcesAll{} diff --git a/opslevel/datasource_opslevel_tier.go b/opslevel/datasource_opslevel_tier.go index 33f0dbcf..713e9678 100644 --- a/opslevel/datasource_opslevel_tier.go +++ b/opslevel/datasource_opslevel_tier.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure TierDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_tiers_all.go b/opslevel/datasource_opslevel_tiers_all.go index dfb3a9d2..16bd290a 100644 --- a/opslevel/datasource_opslevel_tiers_all.go +++ b/opslevel/datasource_opslevel_tiers_all.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ datasource.DataSourceWithConfigure = &TierDataSourcesAll{} diff --git a/opslevel/datasource_opslevel_user.go b/opslevel/datasource_opslevel_user.go index 58ed2648..28c7355d 100644 --- a/opslevel/datasource_opslevel_user.go +++ b/opslevel/datasource_opslevel_user.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure UserDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_users_all.go b/opslevel/datasource_opslevel_users_all.go index 66c16630..110950c6 100644 --- a/opslevel/datasource_opslevel_users_all.go +++ b/opslevel/datasource_opslevel_users_all.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ datasource.DataSourceWithConfigure = &UserDataSourcesAll{} diff --git a/opslevel/datasource_opslevel_webhook_action.go b/opslevel/datasource_opslevel_webhook_action.go index bb6575d7..37f2de9b 100644 --- a/opslevel/datasource_opslevel_webhook_action.go +++ b/opslevel/datasource_opslevel_webhook_action.go @@ -4,14 +4,13 @@ import ( "context" "fmt" - "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Ensure WebhookActionDataSource implements DataSourceWithConfigure interface diff --git a/opslevel/datasource_opslevel_webhook_actions_all.go b/opslevel/datasource_opslevel_webhook_actions_all.go index c18a343d..1c233f67 100644 --- a/opslevel/datasource_opslevel_webhook_actions_all.go +++ b/opslevel/datasource_opslevel_webhook_actions_all.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/datasource" "github.com/hashicorp/terraform-plugin-framework/datasource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ datasource.DataSourceWithConfigure = &WebhookActionDataSourcesAll{} diff --git a/opslevel/helpers.go b/opslevel/helpers.go index 9dfbc522..139a6690 100644 --- a/opslevel/helpers.go +++ b/opslevel/helpers.go @@ -4,9 +4,8 @@ import ( "context" "fmt" - "github.com/opslevel/opslevel-go/v2024" - "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/opslevel/opslevel-go/v2025" ) type TerraformSource interface { diff --git a/opslevel/import_utils.go b/opslevel/import_utils.go index 975a2977..64a10e30 100644 --- a/opslevel/import_utils.go +++ b/opslevel/import_utils.go @@ -5,7 +5,7 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-framework/diag" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) func extractContactFromContacts(contactId opslevel.ID, contacts []opslevel.Contact) *opslevel.Contact { diff --git a/opslevel/provider.go b/opslevel/provider.go index 3bae22b2..11125f08 100644 --- a/opslevel/provider.go +++ b/opslevel/provider.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) const defaultApiTimeout = int64(30) diff --git a/opslevel/resource_opslevel_alias.go b/opslevel/resource_opslevel_alias.go index 74f0b8bf..581e564f 100644 --- a/opslevel/resource_opslevel_alias.go +++ b/opslevel/resource_opslevel_alias.go @@ -6,16 +6,15 @@ import ( "slices" "strings" - "github.com/hashicorp/terraform-plugin-framework/diag" - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" + "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &AliasResource{} diff --git a/opslevel/resource_opslevel_check_alert_source_usage.go b/opslevel/resource_opslevel_check_alert_source_usage.go index be81db15..1c5bf5c6 100644 --- a/opslevel/resource_opslevel_check_alert_source_usage.go +++ b/opslevel/resource_opslevel_check_alert_source_usage.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_base.go b/opslevel/resource_opslevel_check_base.go index 20f55ae7..6a484b0d 100644 --- a/opslevel/resource_opslevel_check_base.go +++ b/opslevel/resource_opslevel_check_base.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) type CheckCodeBaseResourceModel struct { diff --git a/opslevel/resource_opslevel_check_code_issue.go b/opslevel/resource_opslevel_check_code_issue.go index 006a16ae..2d770a4c 100644 --- a/opslevel/resource_opslevel_check_code_issue.go +++ b/opslevel/resource_opslevel_check_code_issue.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_custom_event.go b/opslevel/resource_opslevel_check_custom_event.go index 3d57a3b4..6d0dda73 100644 --- a/opslevel/resource_opslevel_check_custom_event.go +++ b/opslevel/resource_opslevel_check_custom_event.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_git_branch_protection.go b/opslevel/resource_opslevel_check_git_branch_protection.go index 25b1585f..341393f7 100644 --- a/opslevel/resource_opslevel_check_git_branch_protection.go +++ b/opslevel/resource_opslevel_check_git_branch_protection.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_has_documentation.go b/opslevel/resource_opslevel_check_has_documentation.go index a98ccaf0..3e59608b 100644 --- a/opslevel/resource_opslevel_check_has_documentation.go +++ b/opslevel/resource_opslevel_check_has_documentation.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_has_recent_deploy.go b/opslevel/resource_opslevel_check_has_recent_deploy.go index f2ec6d5b..b6fad671 100644 --- a/opslevel/resource_opslevel_check_has_recent_deploy.go +++ b/opslevel/resource_opslevel_check_has_recent_deploy.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_manual.go b/opslevel/resource_opslevel_check_manual.go index 688ab242..a3fa250f 100644 --- a/opslevel/resource_opslevel_check_manual.go +++ b/opslevel/resource_opslevel_check_manual.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_package_version.go b/opslevel/resource_opslevel_check_package_version.go index 1eea2070..8453c824 100644 --- a/opslevel/resource_opslevel_check_package_version.go +++ b/opslevel/resource_opslevel_check_package_version.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_repository_file.go b/opslevel/resource_opslevel_check_repository_file.go index bba69172..514fe1e0 100644 --- a/opslevel/resource_opslevel_check_repository_file.go +++ b/opslevel/resource_opslevel_check_repository_file.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_repository_grep.go b/opslevel/resource_opslevel_check_repository_grep.go index c6ec6f04..12173a70 100644 --- a/opslevel/resource_opslevel_check_repository_grep.go +++ b/opslevel/resource_opslevel_check_repository_grep.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_repository_integrated.go b/opslevel/resource_opslevel_check_repository_integrated.go index f2464b94..7cf83d2e 100644 --- a/opslevel/resource_opslevel_check_repository_integrated.go +++ b/opslevel/resource_opslevel_check_repository_integrated.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_repository_search.go b/opslevel/resource_opslevel_check_repository_search.go index 3df5b7a4..2bd6f149 100644 --- a/opslevel/resource_opslevel_check_repository_search.go +++ b/opslevel/resource_opslevel_check_repository_search.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_service_configuration.go b/opslevel/resource_opslevel_check_service_configuration.go index 3d638944..dbc38435 100644 --- a/opslevel/resource_opslevel_check_service_configuration.go +++ b/opslevel/resource_opslevel_check_service_configuration.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_service_dependency.go b/opslevel/resource_opslevel_check_service_dependency.go index 9e889a93..08720b12 100644 --- a/opslevel/resource_opslevel_check_service_dependency.go +++ b/opslevel/resource_opslevel_check_service_dependency.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_service_ownership.go b/opslevel/resource_opslevel_check_service_ownership.go index 821dc751..427e9e01 100644 --- a/opslevel/resource_opslevel_check_service_ownership.go +++ b/opslevel/resource_opslevel_check_service_ownership.go @@ -16,7 +16,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_service_property.go b/opslevel/resource_opslevel_check_service_property.go index b94d16bc..9af86002 100644 --- a/opslevel/resource_opslevel_check_service_property.go +++ b/opslevel/resource_opslevel_check_service_property.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_tag_defined.go b/opslevel/resource_opslevel_check_tag_defined.go index 1774bc72..3eccb681 100644 --- a/opslevel/resource_opslevel_check_tag_defined.go +++ b/opslevel/resource_opslevel_check_tag_defined.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_check_tool_usage.go b/opslevel/resource_opslevel_check_tool_usage.go index 49c39a0e..8a2589d2 100644 --- a/opslevel/resource_opslevel_check_tool_usage.go +++ b/opslevel/resource_opslevel_check_tool_usage.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "github.com/relvacode/iso8601" ) diff --git a/opslevel/resource_opslevel_component_type.go b/opslevel/resource_opslevel_component_type.go index d8d5e50d..dcfccdb9 100644 --- a/opslevel/resource_opslevel_component_type.go +++ b/opslevel/resource_opslevel_component_type.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "golang.org/x/net/context" ) diff --git a/opslevel/resource_opslevel_domain.go b/opslevel/resource_opslevel_domain.go index a040bb9e..7fbff75a 100644 --- a/opslevel/resource_opslevel_domain.go +++ b/opslevel/resource_opslevel_domain.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &DomainResource{} diff --git a/opslevel/resource_opslevel_filter.go b/opslevel/resource_opslevel_filter.go index 6ba2decf..f690a1f0 100644 --- a/opslevel/resource_opslevel_filter.go +++ b/opslevel/resource_opslevel_filter.go @@ -15,11 +15,10 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var ( diff --git a/opslevel/resource_opslevel_filter_test.go b/opslevel/resource_opslevel_filter_test.go index d1469d01..abf82d03 100644 --- a/opslevel/resource_opslevel_filter_test.go +++ b/opslevel/resource_opslevel_filter_test.go @@ -3,7 +3,7 @@ package opslevel_test import ( "testing" - opslevelgo "github.com/opslevel/opslevel-go/v2024" + opslevelgo "github.com/opslevel/opslevel-go/v2025" opsleveltf "github.com/opslevel/terraform-provider-opslevel/opslevel" ) diff --git a/opslevel/resource_opslevel_infra.go b/opslevel/resource_opslevel_infra.go index ccfcc26c..3586f2b5 100644 --- a/opslevel/resource_opslevel_infra.go +++ b/opslevel/resource_opslevel_infra.go @@ -8,15 +8,13 @@ import ( "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" - "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &InfrastructureResource{} diff --git a/opslevel/resource_opslevel_integration_aws.go b/opslevel/resource_opslevel_integration_aws.go index 2f6658b5..c6c4ea95 100644 --- a/opslevel/resource_opslevel_integration_aws.go +++ b/opslevel/resource_opslevel_integration_aws.go @@ -16,7 +16,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &IntegrationAwsResource{} diff --git a/opslevel/resource_opslevel_integration_azure_resources.go b/opslevel/resource_opslevel_integration_azure_resources.go index 850b16f7..600db606 100644 --- a/opslevel/resource_opslevel_integration_azure_resources.go +++ b/opslevel/resource_opslevel_integration_azure_resources.go @@ -19,7 +19,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) const AzureIdRegexPattern = `^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$` diff --git a/opslevel/resource_opslevel_integration_endpoint.go b/opslevel/resource_opslevel_integration_endpoint.go index dd74f3c4..882d73da 100644 --- a/opslevel/resource_opslevel_integration_endpoint.go +++ b/opslevel/resource_opslevel_integration_endpoint.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &IntegrationEndpointResource{} diff --git a/opslevel/resource_opslevel_integration_google_cloud.go b/opslevel/resource_opslevel_integration_google_cloud.go index 45f28d8c..716db9f7 100644 --- a/opslevel/resource_opslevel_integration_google_cloud.go +++ b/opslevel/resource_opslevel_integration_google_cloud.go @@ -5,24 +5,20 @@ import ( "fmt" "time" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/listdefault" - - "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" - "github.com/hashicorp/terraform-plugin-framework-validators/listvalidator" - "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" - "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/listdefault" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var ( diff --git a/opslevel/resource_opslevel_property_assignment.go b/opslevel/resource_opslevel_property_assignment.go index e2834c61..32bba7e8 100644 --- a/opslevel/resource_opslevel_property_assignment.go +++ b/opslevel/resource_opslevel_property_assignment.go @@ -13,7 +13,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var ( diff --git a/opslevel/resource_opslevel_property_definition.go b/opslevel/resource_opslevel_property_definition.go index 03952751..b68c604c 100644 --- a/opslevel/resource_opslevel_property_definition.go +++ b/opslevel/resource_opslevel_property_definition.go @@ -7,15 +7,14 @@ import ( "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" "github.com/hashicorp/terraform-plugin-framework/path" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var ( diff --git a/opslevel/resource_opslevel_repository.go b/opslevel/resource_opslevel_repository.go index b83dd809..d15b61d8 100644 --- a/opslevel/resource_opslevel_repository.go +++ b/opslevel/resource_opslevel_repository.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &RepositoryResource{} diff --git a/opslevel/resource_opslevel_rubric_category.go b/opslevel/resource_opslevel_rubric_category.go index c8aa1ed4..7dfa2914 100644 --- a/opslevel/resource_opslevel_rubric_category.go +++ b/opslevel/resource_opslevel_rubric_category.go @@ -7,13 +7,11 @@ import ( "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" - "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &RubricCategoryResource{} diff --git a/opslevel/resource_opslevel_rubric_level.go b/opslevel/resource_opslevel_rubric_level.go index dc834540..6ffddaf4 100644 --- a/opslevel/resource_opslevel_rubric_level.go +++ b/opslevel/resource_opslevel_rubric_level.go @@ -7,14 +7,12 @@ import ( "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/int64planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" - "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &RubricLevelResource{} diff --git a/opslevel/resource_opslevel_scorecard.go b/opslevel/resource_opslevel_scorecard.go index a081d684..6c5438b3 100644 --- a/opslevel/resource_opslevel_scorecard.go +++ b/opslevel/resource_opslevel_scorecard.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &ScorecardResource{} diff --git a/opslevel/resource_opslevel_secrets.go b/opslevel/resource_opslevel_secrets.go index 1d76b891..4b9fe5fa 100644 --- a/opslevel/resource_opslevel_secrets.go +++ b/opslevel/resource_opslevel_secrets.go @@ -10,10 +10,9 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" - "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &SecretResource{} diff --git a/opslevel/resource_opslevel_service.go b/opslevel/resource_opslevel_service.go index 33230c59..5cbdca75 100644 --- a/opslevel/resource_opslevel_service.go +++ b/opslevel/resource_opslevel_service.go @@ -18,7 +18,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &ServiceResource{} diff --git a/opslevel/resource_opslevel_service_dependency.go b/opslevel/resource_opslevel_service_dependency.go index d9bd848d..c6129fa4 100644 --- a/opslevel/resource_opslevel_service_dependency.go +++ b/opslevel/resource_opslevel_service_dependency.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &ServiceDependencyResource{} diff --git a/opslevel/resource_opslevel_service_relationship.go b/opslevel/resource_opslevel_service_relationship.go index 841995bf..99406030 100644 --- a/opslevel/resource_opslevel_service_relationship.go +++ b/opslevel/resource_opslevel_service_relationship.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &ServiceRelationshipResource{} diff --git a/opslevel/resource_opslevel_service_repository.go b/opslevel/resource_opslevel_service_repository.go index 3600bc32..f72296ae 100644 --- a/opslevel/resource_opslevel_service_repository.go +++ b/opslevel/resource_opslevel_service_repository.go @@ -16,7 +16,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &ServiceRepositoryResource{} diff --git a/opslevel/resource_opslevel_service_tag.go b/opslevel/resource_opslevel_service_tag.go index 9b055a34..7e440c32 100644 --- a/opslevel/resource_opslevel_service_tag.go +++ b/opslevel/resource_opslevel_service_tag.go @@ -6,16 +6,15 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &ServiceTagResource{} diff --git a/opslevel/resource_opslevel_service_tool.go b/opslevel/resource_opslevel_service_tool.go index 1cd8a627..b4e056b5 100644 --- a/opslevel/resource_opslevel_service_tool.go +++ b/opslevel/resource_opslevel_service_tool.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &ServiceToolResource{} diff --git a/opslevel/resource_opslevel_system.go b/opslevel/resource_opslevel_system.go index efe10bc4..555deceb 100644 --- a/opslevel/resource_opslevel_system.go +++ b/opslevel/resource_opslevel_system.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &SystemResource{} diff --git a/opslevel/resource_opslevel_tag.go b/opslevel/resource_opslevel_tag.go index 944a3e9d..dd6ece98 100644 --- a/opslevel/resource_opslevel_tag.go +++ b/opslevel/resource_opslevel_tag.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &TagResource{} diff --git a/opslevel/resource_opslevel_team.go b/opslevel/resource_opslevel_team.go index 517e8980..49103d69 100644 --- a/opslevel/resource_opslevel_team.go +++ b/opslevel/resource_opslevel_team.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &TeamResource{} diff --git a/opslevel/resource_opslevel_team_contact.go b/opslevel/resource_opslevel_team_contact.go index ed33b598..f0efdb69 100644 --- a/opslevel/resource_opslevel_team_contact.go +++ b/opslevel/resource_opslevel_team_contact.go @@ -6,16 +6,15 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &TeamContactResource{} diff --git a/opslevel/resource_opslevel_team_tag.go b/opslevel/resource_opslevel_team_tag.go index 50399a81..610b2bb7 100644 --- a/opslevel/resource_opslevel_team_tag.go +++ b/opslevel/resource_opslevel_team_tag.go @@ -7,16 +7,15 @@ import ( "strings" "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // Tag key names are stored in OpsLevel as lowercase so we need to ensure the configuration is written as lowercase diff --git a/opslevel/resource_opslevel_trigger_definition.go b/opslevel/resource_opslevel_trigger_definition.go index aab8cc45..9526b210 100644 --- a/opslevel/resource_opslevel_trigger_definition.go +++ b/opslevel/resource_opslevel_trigger_definition.go @@ -11,16 +11,14 @@ import ( "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringdefault" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" - + "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-framework/types/basetypes" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &TriggerDefinitionResource{} diff --git a/opslevel/resource_opslevel_user.go b/opslevel/resource_opslevel_user.go index 8dc7c9f1..9ff5b016 100644 --- a/opslevel/resource_opslevel_user.go +++ b/opslevel/resource_opslevel_user.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &UserResource{} diff --git a/opslevel/resource_opslevel_webhook_action.go b/opslevel/resource_opslevel_webhook_action.go index ddb14906..d759198c 100644 --- a/opslevel/resource_opslevel_webhook_action.go +++ b/opslevel/resource_opslevel_webhook_action.go @@ -14,7 +14,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-log/tflog" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) var _ resource.ResourceWithConfigure = &WebhookActionResource{} diff --git a/opslevel/terraform_type_conversions.go b/opslevel/terraform_type_conversions.go index c190e06d..3cf198f3 100644 --- a/opslevel/terraform_type_conversions.go +++ b/opslevel/terraform_type_conversions.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-framework/types/basetypes" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" "golang.org/x/net/context" ) diff --git a/opslevel/terraform_type_conversions_test.go b/opslevel/terraform_type_conversions_test.go index 06533b8e..d2999ced 100644 --- a/opslevel/terraform_type_conversions_test.go +++ b/opslevel/terraform_type_conversions_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/hashicorp/terraform-plugin-framework/types" - opslevelgo "github.com/opslevel/opslevel-go/v2024" + opslevelgo "github.com/opslevel/opslevel-go/v2025" opsleveltf "github.com/opslevel/terraform-provider-opslevel/opslevel" ) diff --git a/opslevel/validators.go b/opslevel/validators.go index f3669e78..70dfe1b1 100644 --- a/opslevel/validators.go +++ b/opslevel/validators.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/terraform-plugin-framework-validators/helpers/validatordiag" "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/opslevel/opslevel-go/v2024" + "github.com/opslevel/opslevel-go/v2025" ) // OpsLevel ID String Validator diff --git a/submodules/opslevel-go b/submodules/opslevel-go index 700666b2..96fbb91b 160000 --- a/submodules/opslevel-go +++ b/submodules/opslevel-go @@ -1 +1 @@ -Subproject commit 700666b20385e9a3c18affd03e6add3cc20eff21 +Subproject commit 96fbb91b23575207e5d9522dd2813d3af618746b diff --git a/taskfiles/Golang.yml b/taskfiles/Golang.yml index 24402fe6..423b1c0d 100644 --- a/taskfiles/Golang.yml +++ b/taskfiles/Golang.yml @@ -1,7 +1,7 @@ version: '3' vars: - OPSLEVEL_GO_PKG: "github.com/opslevel/opslevel-go/v2024" + OPSLEVEL_GO_PKG: "github.com/opslevel/opslevel-go/v2025" tasks: run-unit-tests: