Skip to content

Commit

Permalink
Merge pull request #1599 from okta/prep_v4.0.2
Browse files Browse the repository at this point in the history
prep release
  • Loading branch information
duytiennguyen-okta authored Jun 14, 2023
2 parents d5105d6 + 203872d commit abf5e80
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 3 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Changelog

## 4.0.2 (June 14, 2023)

### NEW - RESOURCES, DATA SOURCES, PROPERTIES, ATTRIBUTES, ENV VARS:
* New resource `okta_email_domain` and `okta_email_domain_verification` [#1588](https://github.com/okta/terraform-provider-okta/pull/1588). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!

### BUG FIXES
* Fix the issue of refresh token could not be removed[#1586](https://github.com/okta/terraform-provider-okta/pull/1586). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
* Fix empty value in refresh_token_leeway when not set [#1596](https://github.com/okta/terraform-provider-okta/pull/1596). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!

## 4.0.1 (June 5, 2023)

### BUG FIXES
* Add engine check solving the classic org issue [#1559](https://github.com/okta/terraform-provider-okta/pull/1559). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
* Add skip users and skip group back to app datasource[#1562](https://github.com/okta/terraform-provider-okta/pull/1562). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
* Add skip users and skip group back to app datasource [#1562](https://github.com/okta/terraform-provider-okta/pull/1562). Thanks, [@duytiennguyen-okta](https://github.com/duytiennguyen-okta)!
* Correct Okta policy rule profile enrollment resource drift issue [#1572](https://github.com/okta/terraform-provider-okta/pull/1572). Thanks, [@monde](https://github.com/monde)!


Expand Down
2 changes: 1 addition & 1 deletion okta/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func oktaSDKClient(c *Config) (client *sdk.Client, err error) {
sdk.WithRateLimitMaxBackOff(int64(c.maxWait)),
sdk.WithRequestTimeout(int64(c.requestTimeout)),
sdk.WithRateLimitMaxRetries(int32(c.retryCount)),
sdk.WithUserAgentExtra("okta-terraform/4.0.1"),
sdk.WithUserAgentExtra("okta-terraform/4.0.2"),
}

switch {
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 = "~> 4.0.1"
version = "~> 4.0.2"
}
}
}
Expand Down
54 changes: 54 additions & 0 deletions website/docs/r/email_domain.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
layout: 'okta'
page_title: 'Okta: okta_email_domain'
sidebar_current: 'docs-okta-resource-email-domain'
description: |-
Creates email domain.
---

# okta_email_domain

This resource allows you to create and configure an email domain.

## Example Usage

```hcl
resource "okta_email_domain" "example" {
brand_id = "abc123"
domain = "example.com"
display_name = "test"
user_name = "paul_atreides"
}
```

## Argument Reference

The following arguments are supported:

- `brand_id` - (Required) Brand id of the email domain.

- `domain` - (Required) Mail domain to send from.

- `display_name` - (Required) Display name of the email domain.

- `user_name` - (Required) User name of the email domain.

## Attributes Reference

- `id` - ID of the sender.

- `validation_status` - Status of the email domain (shows whether the domain is verified).

- `dns_validation_records` - TXT and CNAME records to be registered for the domain.
- `fqdn` - DNS record name.
- `record_type` - Record type can be TXT or cname.
- `value` - DNS record values
- `expiration ` - DNS TXT record expiration

## Import

Custom email domain can be imported via the Okta ID.

```
$ terraform import okta_email_domain.example <domain id>
```
36 changes: 36 additions & 0 deletions website/docs/r/email_domain_verification.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
layout: 'okta'
page_title: 'Okta: okta_email_domain_verification'
sidebar_current: 'docs-okta-resource-email-domain-verification'
description: |-
Verifies the email domain.
---

# okta_email_domain_verification

Verifies the email domain. The resource won't be created if the email domain could not be verified.

## Example Usage

```hcl
resource "okta_email_domain" "example" {
brand_id = "abc123"
domain = "example.com"
display_name = "test"
user_name = "paul_atreides"
}
resource "okta_email_domain_verification" "example" {
email_domain_id = okta_email_domain.valid.id
}
```

## Argument Reference

The following arguments are supported:

- `email_domain_id` - (Required) Email domain ID.

## Import

This resource does not support importing.

0 comments on commit abf5e80

Please sign in to comment.