Skip to content

Commit d036687

Browse files
authored
Merge pull request #2089 from okta/prep_v4_11_0
Prep v4.11.0
2 parents b241408 + bc9d0fc commit d036687

File tree

13 files changed

+132
-61
lines changed

13 files changed

+132
-61
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## 4.11.0 (Sep 16, 2024)
4+
5+
### NEW - RESOURCES, DATA SOURCES, PROPERTIES, ATTRIBUTES, ENV VARS:
6+
7+
* Add `GroupOwner` resource [#2079](https://github.com/okta/terraform-provider-okta/pull/2079). Thanks, [@arvindkrishnakumar-okta](https://github.com/arvindkrishnakumar-okta)!
8+
* add support for custom role in okta_group_role [#2074](https://github.com/okta/terraform-provider-okta/pull/2074). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
9+
* add userVerificationMethods to API Payload [#2061](https://github.com/okta/terraform-provider-okta/pull/2061). Thanks, [@pro4tlzz](https://github.com/pro4tlzz)!
10+
* additional app_oauth grant types [#2067](https://github.com/okta/terraform-provider-okta/pull/2067). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
11+
12+
### IMPROVEMENTS
13+
* fix resource_set example in docs [#2075](https://github.com/okta/terraform-provider-okta/pull/2075). Thanks, [@exitcode0](https://github.com/exitcode0)!
14+
* Documentation: fix square bracket character encoding [#2056](https://github.com/okta/terraform-provider-okta/pull/2056). Thanks, [@exitcode0](https://github.com/exitcode0)!
15+
16+
### BUG FIXES
17+
18+
* fix issue when content security policy is null [#2043](https://github.com/okta/terraform-provider-okta/pull/2043). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
19+
* fix customized sign in import [#2051](https://github.com/okta/terraform-provider-okta/pull/2051). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
20+
* fix import okta_domain [#2062](https://github.com/okta/terraform-provider-okta/pull/2062). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
21+
* bugfix name format resource_okta_idp_saml.go [#2050](https://github.com/okta/terraform-provider-okta/pull/2050). Thanks, [@aemard](https://github.com/aemard)!
22+
323
## 4.10.0 (Aug 6, 2024)
424

525
### NEW - RESOURCES, DATA SOURCES, PROPERTIES, ATTRIBUTES, ENV VARS:

GNUmakefile

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ vet:
9494
fmt: tools # Format the code
9595
@echo "formatting the code with $(GOFMT)..."
9696
@$(GOFMT) -l -w .
97+
@terraform fmt -recursive ./examples/
9798

9899
fmtcheck:
99100
@gofumpt -d -l .

dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
- package-ecosystem: gomod
2+
directory: "/"
3+
schedule:
4+
interval: daily
5+
ignore:
6+
- dependency-name: github.com/hashicorp/terraform-plugin-docs
7+
versions:
8+
- ">=0.14.0"

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ terraform {
2424
required_providers {
2525
okta = {
2626
source = "okta/okta"
27-
version = "~> 4.10.0"
27+
version = "~> 4.11.0"
2828
}
2929
}
3030
}

docs/resources/group_owner.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
page_title: "Resource: okta_group_owner"
3+
description: |-
4+
Manages group owner resource.
5+
---
6+
7+
# Resource: okta_group_owner
8+
9+
Manages group owner resource.
10+
11+
## Example Usage
12+
13+
```terraform
14+
resource "okta_user" "test" {
15+
first_name = "TestAcc"
16+
last_name = "Smith"
17+
login = "testAcc-replace_with_uuid@example.com"
18+
email = "testAcc-replace_with_uuid@example.com"
19+
}
20+
21+
resource "okta_group" "test" {
22+
name = "testAcc_replace_with_uuid"
23+
}
24+
25+
resource "okta_group_owner" "test" {
26+
group_id = okta_group.test.id
27+
id_of_group_owner = okta_user.test.id
28+
type = "USER"
29+
}
30+
```
31+
32+
<!-- schema generated by tfplugindocs -->
33+
## Schema
34+
35+
### Required
36+
37+
- `group_id` (String) The id of the group
38+
- `id_of_group_owner` (String) The user id of the group owner
39+
- `type` (String) The entity type of the owner. Enum: "GROUP" "USER"
40+
41+
### Read-Only
42+
43+
- `display_name` (String) The display name of the group owner
44+
- `id` (String) The id of the group owner resource
45+
- `origin_id` (String) The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY.
46+
- `origin_type` (String) The source where group ownership is managed. Enum: "APPLICATION" "OKTA_DIRECTORY"
47+
- `resolved` (Boolean) If originType is APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID.
48+
49+

examples/data-sources/okta_log_stream/datasource.tf

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ resource "okta_log_stream" "test_splunk" {
2121
}
2222

2323
data "okta_log_stream" "test_by_name" {
24-
name = okta_log_stream.test_splunk.name
25-
depends_on = [ okta_log_stream.test_splunk, okta_log_stream.test_aws ]
24+
name = okta_log_stream.test_splunk.name
25+
depends_on = [okta_log_stream.test_splunk, okta_log_stream.test_aws]
2626
}
2727

2828
data "okta_log_stream" "test_by_id" {
29-
id = okta_log_stream.test_aws.id
30-
depends_on = [ okta_log_stream.test_splunk, okta_log_stream.test_aws ]
29+
id = okta_log_stream.test_aws.id
30+
depends_on = [okta_log_stream.test_splunk, okta_log_stream.test_aws]
3131
}

examples/resources/okta_group_owner/resource.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ resource "okta_group" "test" {
1010
}
1111

1212
resource "okta_group_owner" "test" {
13-
group_id = okta_group.test.id
14-
id_of_group_owner = okta_user.test.id
15-
type = "USER"
13+
group_id = okta_group.test.id
14+
id_of_group_owner = okta_user.test.id
15+
type = "USER"
1616
}
+10-10
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
resource "okta_log_stream" "eventbridge" {
2-
name = "testAcc_replace_with_uuid EventBridge"
3-
type = "aws_eventbridge"
4-
status = "ACTIVE"
2+
name = "testAcc_replace_with_uuid EventBridge"
3+
type = "aws_eventbridge"
4+
status = "ACTIVE"
55
settings {
6-
account_id = "123456789012"
7-
region = "eu-west-3"
6+
account_id = "123456789012"
7+
region = "eu-west-3"
88
event_source_name = "testAcc_replace_with_uuid"
99
}
1010
}
1111

1212
resource "okta_log_stream" "splunk" {
13-
name = "testAcc_replace_with_uuid Splunk"
14-
type = "splunk_cloud_logstreaming"
15-
status = "INACTIVE"
13+
name = "testAcc_replace_with_uuid Splunk"
14+
type = "splunk_cloud_logstreaming"
15+
status = "INACTIVE"
1616
settings {
17-
host = "acme.splunkcloud.com"
17+
host = "acme.splunkcloud.com"
1818
edition = "aws"
19-
token = "58A7C8D6-4E2F-4C3B-8F5B-D4E2F3A4B5C6"
19+
token = "58A7C8D6-4E2F-4C3B-8F5B-D4E2F3A4B5C6"
2020
}
2121
}
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
resource "okta_log_stream" "eventbridge" {
2-
name = "testAcc_replace_with_uuid EventBridge Updated"
3-
type = "aws_eventbridge"
4-
status = "INACTIVE"
2+
name = "testAcc_replace_with_uuid EventBridge Updated"
3+
type = "aws_eventbridge"
4+
status = "INACTIVE"
55
settings {
6-
account_id = "123456789012"
7-
region = "eu-west-3"
6+
account_id = "123456789012"
7+
region = "eu-west-3"
88
event_source_name = "testAcc_replace_with_uuid"
99
}
1010
}
1111

1212
resource "okta_log_stream" "splunk" {
13-
name = "testAcc_replace_with_uuid Splunk Updated"
14-
type = "splunk_cloud_logstreaming"
15-
status = "ACTIVE"
13+
name = "testAcc_replace_with_uuid Splunk Updated"
14+
type = "splunk_cloud_logstreaming"
15+
status = "ACTIVE"
1616
settings {
17-
host = "acme.splunkcloud.com"
17+
host = "acme.splunkcloud.com"
1818
edition = "aws"
19-
token = "58A7C8D6-4E2F-4C3B-8F5B-D4E2F3A4B5C6"
19+
token = "58A7C8D6-4E2F-4C3B-8F5B-D4E2F3A4B5C6"
2020
}
2121
}

go.mod

+3-10
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
1515
github.com/hashicorp/go-hclog v1.6.3
1616
github.com/hashicorp/go-retryablehttp v0.7.7
17-
github.com/hashicorp/terraform-plugin-docs v0.19.4
17+
github.com/hashicorp/terraform-plugin-docs v0.14.0
1818
github.com/hashicorp/terraform-plugin-framework v1.8.0
1919
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0
2020
github.com/hashicorp/terraform-plugin-go v0.22.2
@@ -34,7 +34,6 @@ require (
3434
)
3535

3636
require (
37-
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect
3837
github.com/Masterminds/goutils v1.1.1 // indirect
3938
github.com/Masterminds/semver/v3 v3.2.0 // indirect
4039
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
@@ -44,7 +43,6 @@ require (
4443
github.com/armon/go-radix v1.0.0 // indirect
4544
github.com/beevik/etree v1.1.0 // indirect
4645
github.com/bgentry/speakeasy v0.1.0 // indirect
47-
github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect
4846
github.com/cloudflare/circl v1.3.7 // indirect
4947
github.com/davecgh/go-spew v1.1.1 // indirect
5048
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
@@ -53,7 +51,6 @@ require (
5351
github.com/goccy/go-json v0.10.2 // indirect
5452
github.com/golang/protobuf v1.5.4 // indirect
5553
github.com/google/go-cmp v0.6.0 // indirect
56-
github.com/hashicorp/cli v1.1.6 // indirect
5754
github.com/hashicorp/errwrap v1.1.0 // indirect
5855
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
5956
github.com/hashicorp/go-multierror v1.1.1 // indirect
@@ -79,7 +76,7 @@ require (
7976
github.com/mattermost/xml-roundtrip-validator v0.1.0 // indirect
8077
github.com/mattn/go-colorable v0.1.13 // indirect
8178
github.com/mattn/go-isatty v0.0.20 // indirect
82-
github.com/mattn/go-runewidth v0.0.9 // indirect
79+
github.com/mitchellh/cli v1.1.5 // indirect
8380
github.com/mitchellh/copystructure v1.2.0 // indirect
8481
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
8582
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
@@ -90,17 +87,14 @@ require (
9087
github.com/pmezard/go-difflib v1.0.0 // indirect
9188
github.com/posener/complete v1.2.3 // indirect
9289
github.com/russellhaering/goxmldsig v1.3.0 // indirect
90+
github.com/russross/blackfriday v1.6.0 // indirect
9391
github.com/shopspring/decimal v1.3.1 // indirect
9492
github.com/spf13/cast v1.5.0 // indirect
9593
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
9694
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
9795
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
98-
github.com/yuin/goldmark v1.7.1 // indirect
99-
github.com/yuin/goldmark-meta v1.1.0 // indirect
10096
github.com/zclconf/go-cty v1.14.4 // indirect
101-
go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect
10297
golang.org/x/crypto v0.22.0 // indirect
103-
golang.org/x/exp v0.0.0-20230809150735-7b3493d9a819 // indirect
10498
golang.org/x/mod v0.17.0 // indirect
10599
golang.org/x/net v0.24.0 // indirect
106100
golang.org/x/oauth2 v0.17.0 // indirect
@@ -110,5 +104,4 @@ require (
110104
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
111105
google.golang.org/grpc v1.63.2 // indirect
112106
google.golang.org/protobuf v1.33.0 // indirect
113-
gopkg.in/yaml.v2 v2.3.0 // indirect
114107
)

0 commit comments

Comments
 (0)