-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1599 from okta/prep_v4.0.2
prep release
- Loading branch information
Showing
5 changed files
with
102 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |