Skip to content

Commit

Permalink
Merge pull request #1346 from okta/prep_3_38_0
Browse files Browse the repository at this point in the history
Prep 3.38.0 release
  • Loading branch information
monde authored Oct 28, 2022
2 parents 028bd1c + 795bfa3 commit 45b6674
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.38.0 (October 28, 2022)

BUG FIXES:

* Address potential panic in resource `okta_app_group_assignments`'s `profile` attribute [#1345](https://github.com/okta/terraform-provider-okta/pull/1345). Thanks, [@monde](https://github.com/monde)!
* Address potential panic in resource `okta_inline_hook`s `auth` attribute [#1337](https://github.com/okta/terraform-provider-okta/pull/1337). Thanks, [@monde](https://github.com/monde)!
* Fully document and refine `okta_app_oauth`'s `pkce_required` attribute required if `token_endpoint_auth_method` is "none" [#1327](https://github.com/okta/terraform-provider-okta/pull/1327). Thanks, [@monde](https://github.com/monde)!

## 3.37.0 (October 04, 2022)

NEW - RESOURCES, DATA SOURCES, PROPERTIES, ATTRIBUTES, ENV VARS:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.20221004202115-54b1d8b60afe
github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221028200237-77af9c89f8f3
github.com/stretchr/testify v1.8.1
)

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221004202115-54b1d8b60afe h1:sfh3TIN/ftzdGa7wzjtzW2CsUt+0HZl/tDz/RXY3j9o=
github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221004202115-54b1d8b60afe/go.mod h1:dz30v3ctAiMb7jpsCngGfQUAEGm1/NsWT92uTbNDQIs=
github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221028200237-77af9c89f8f3 h1:fSnYLCs/70m2/5kIBd+YJYZpk07G5a7o/r+CCujsbf4=
github.com/okta/okta-sdk-golang/v2 v2.14.1-0.20221028200237-77af9c89f8f3/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=
Expand Down
2 changes: 1 addition & 1 deletion okta/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.37.0"),
okta.WithUserAgentExtra("okta-terraform/3.38.0"),
}

switch {
Expand Down
2 changes: 1 addition & 1 deletion okta/provider_sweeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func TestMain(m *testing.M) {
setupSweeper(policyRulePassword, sweepPolicyRulePasswords)
setupSweeper(policyRuleSignOn, sweepSignOnPolicyRules)
setupSweeper(policySignOn, sweepAccessPolicies)
//setupSweeper(policySignOn, sweepSignOnPolicies)
// setupSweeper(policySignOn, sweepSignOnPolicies)
setupSweeper(resourceSet, sweepResourceSets)
setupSweeper(user, sweepUsers)
setupSweeper(userSchemaProperty, sweepUserCustomSchema)
Expand Down
1 change: 0 additions & 1 deletion okta/resource_okta_email_customization.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ func forceCreateIs(action string, d *schema.ResourceData) bool {
if value == action {
return true
}

}
}
return false
Expand Down
1 change: 0 additions & 1 deletion okta/resource_okta_org_configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ func TestAccOktaOrgConfiguration(t *testing.T) {
companyNameUpdated := fmt.Sprintf("testAcc-%d Hashicorp CI Terraform Provider Okta Updated", ri)

resource.Test(t, resource.TestCase{

PreCheck: testAccPreCheck(t),
ErrorCheck: testAccErrorChecks(t),
ProviderFactories: testAccProvidersFactories,
Expand Down
1 change: 1 addition & 0 deletions okta/utils_for_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ func testAccErrorChecks(t *testing.T) resource.ErrorCheckFunc {
return err
}
}

func errorCheckOIEOnlyFeature(t *testing.T, err error) bool {
if strings.Contains(err.Error(), ErrorOnlyOIEOrgs) {
t.Skipf("Attempt to run OIE feature test on a Classic org")
Expand Down
2 changes: 1 addition & 1 deletion website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ terraform {
required_providers {
okta = {
source = "okta/okta"
version = "~> 3.37"
version = "~> 3.38"
}
}
}
Expand Down

0 comments on commit 45b6674

Please sign in to comment.