From 90c129fc957b3a53ba61a1729bf31169ad5c521f Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Thu, 10 Nov 2022 09:08:20 -0800 Subject: [PATCH 1/2] Prepare release v3.39.0 --- CHANGELOG.md | 30 ++++++++++++++++++++++++++++++ okta/config.go | 2 +- website/docs/index.html.markdown | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66b364e80..9580a164a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,35 @@ # Changelog +## 3.39.0 (November 18, 2022) + +### NEW - RESOURCES, DATA SOURCES, PROPERTIES, ATTRIBUTES, ENV VARS: + +* `okta_authenticator` resource and data source [#1379](https://github.com/okta/terraform-provider-okta/pull/1379). Thanks, [@monde](https://github.com/monde)! + * Added argment `provider_json` allowing provider information to be set with JSON on the authenticator + * Improved resource behavior in regards to Okta API's hard create, soft create, and soft delete of authenticators + * Improved data source and resource documentation + +* Added `authentication_policy` argument to resource `okta_app_bookmark` [#1376](https://github.com/okta/terraform-provider-okta/pull/1376). Thanks, [@jakezarobsky-8451](https://github.com/jakezarobsky-8451)! + +* `okta_user` resrouce [#1372](https://github.com/okta/terraform-provider-okta/pull/1372). Thanks, [@monde](https://github.com/monde)! + * Adds `skip_roles` flag to allow explicit gating on the attempt to set roles + * Swallows and warns on 403 errors when roles API is called and API token is less than super admin scope + * Improved data source and resource documentation + +### ENHANCEMENTS: + +* `okta_idp_saml` gracefully handles 401 errors when setting profile mapping [#1355](https://github.com/okta/terraform-provider-okta/pull/1355)/[#1369](https://github.com/okta/terraform-provider-okta/pull/1369). Thanks, [@deorus](https://github.com/deorus)! +* Rate limits handler rules are generated from Okta service's actual code [#1356](https://github.com/okta/terraform-provider-okta/pull/1356). Thanks, [@monde](https://github.com/monde)! + +### BUG FIXES: + +* Address parallel API calls in `okta_user_base_schema_property` resource [#1351](https://github.com/okta/terraform-provider-okta/pull/1351). Thanks, [@monde](https://github.com/monde)! + +### PROJECT IMPROVEMENTS: + +* Updated `okta_app_user_schema_property`, `okta_auth_server_policy`, and `okta_auth_server_policy_rule` resource documentation [#1348](https://github.com/okta/terraform-provider-okta/pull/1348). Thanks, [@zlitberg](https://github.com/zlitberg)! +* Document a PEM and JWKS example for the `okta_app_oauth` resource [#1350](https://github.com/okta/terraform-provider-okta/pull/1350). Thanks, [@monde](https://github.com/monde)! + ## 3.38.0 (October 28, 2022) BUG FIXES: diff --git a/okta/config.go b/okta/config.go index c61efe144..791da964b 100644 --- a/okta/config.go +++ b/okta/config.go @@ -111,7 +111,7 @@ func (c *Config) loadAndValidate(ctx context.Context) error { okta.WithRateLimitMaxBackOff(int64(c.maxWait)), okta.WithRequestTimeout(int64(c.requestTimeout)), okta.WithRateLimitMaxRetries(int32(c.retryCount)), - okta.WithUserAgentExtra("okta-terraform/3.38.0"), + okta.WithUserAgentExtra("okta-terraform/3.39.0"), } switch { diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index acbd9360b..76d16ad7c 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -24,7 +24,7 @@ terraform { required_providers { okta = { source = "okta/okta" - version = "~> 3.38" + version = "~> 3.39" } } } From 768d6c6757f0f5c990d1c383fa3bd133961d97e1 Mon Sep 17 00:00:00 2001 From: Mike Mondragon Date: Fri, 18 Nov 2022 13:25:29 -0800 Subject: [PATCH 2/2] v2.15.0 of okta-sdk-golang is not released yet but is on master `go get github.com/okta/okta-sdk-golang/v2@master` --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index b4bff5bf8..2f1fb7720 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/hashicorp/go-hclog v1.3.1 github.com/hashicorp/go-retryablehttp v0.7.1 github.com/hashicorp/terraform-plugin-sdk/v2 v2.19.0 - github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221118044255-7f74a659b1d6 + github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221118211525-097c8f2b7cf7 github.com/stretchr/testify v1.8.1 ) diff --git a/go.sum b/go.sum index 0f0a3aa17..6a971b4f6 100644 --- a/go.sum +++ b/go.sum @@ -230,6 +230,8 @@ github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221117172752-975486ea0e42 h1:ApLo github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221117172752-975486ea0e42/go.mod h1:dz30v3ctAiMb7jpsCngGfQUAEGm1/NsWT92uTbNDQIs= github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221118044255-7f74a659b1d6 h1:eEbwfO6G8NcztOgUZ3MiV0Q+K4vYHQFYSIm5SaYfBgY= github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221118044255-7f74a659b1d6/go.mod h1:dz30v3ctAiMb7jpsCngGfQUAEGm1/NsWT92uTbNDQIs= +github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221118211525-097c8f2b7cf7 h1:NpPP654LMCbiRQD+pfuz8j9Z/MWFybbyxiYeAN2bSlc= +github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221118211525-097c8f2b7cf7/go.mod h1:dz30v3ctAiMb7jpsCngGfQUAEGm1/NsWT92uTbNDQIs= github.com/patrickmn/go-cache v0.0.0-20180815053127-5633e0862627 h1:pSCLCl6joCFRnjpeojzOpEYs4q7Vditq8fySFG5ap3Y= github.com/patrickmn/go-cache v0.0.0-20180815053127-5633e0862627/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=