Skip to content

Latest commit

 

History

History

organization

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

organization

This module creates following resources.

  • okta_org_configuration
  • okta_rate_limiting
  • okta_security_notification_emails

Requirements

Name Version
terraform >= 1.8
okta >= 4.8

Providers

Name Version
okta 4.8.1

Modules

No modules.

Resources

Name Type
okta_org_configuration.this resource
okta_rate_limiting.this resource
okta_security_notification_emails.this resource

Inputs

Name Description Type Default Required
name (Required) A name of the organization. string n/a yes
communication_emails_enabled (Optional) Whether the organization's users receive Okta Communication emails. Defaults to true. bool true no
contact (Optional) The configuration of the contact for the Okta organization. contact as defined below.
(Optional) country_code - The ISO-3166 two-letter country code for the contact address.
(Optional) state - The state or region of the contact address. This field is required in selected countries.
(Optional) city - The city of the contact address.
(Optional) district - The district or county of the contact address, if any.
(Optional) address_line_1 - The first line of the contact address.
(Optional) address_line_2 - The second line of the contact address, if any.
(Optional) postal_code - The postal code of the contact address.
(Optional) phone - The phone number of the contact information.
(Optional) website_url - The URL of the website associated with the contact information, if any.
object({
country_code = optional(string)
state = optional(string)
city = optional(string)
district = optional(string)
address_line_1 = optional(string)
address_line_2 = optional(string)
postal_code = optional(string)
phone = optional(string)
website_url = optional(string)
})
null no
end_user_support (Optional) The configuration of the contact for the end-user support. end_user_support as defined below.
(Optional) phone - The phone number of the end-user support contact.
(Optional) url - The URL of the website associated with the end-user support contact. If provided, end-users who click the "Help" link in the footer of Okta will be directed to this URL, rather than the technical contact's email address.
object({
phone = optional(string)
url = optional(string)
})
null no
logo (Optional) The organization logo image. The file must be in PNG, JPG, or GIF format and less than 1 MB in size. For best results use landscape orientation, a transparent background, and a minimum size of 420px by 120px to prevent upscaling. string null no
rate_limiting_preferences (Optional) A preferences for rate limiting. rate_limiting_preferences block as defined below.
(Optional) on_login - Prevent individual clients from blocking traffic when accessing the Okta hosted login page. Valid values are ENFORCE (Enforce limit and log per client (recommended)), DISABLE (Do nothing (not recommended)), PREVIEW (Log per client). Defaults to ENFORCE.
(Optional) on_authorize - Prevent individual clients from blocking traffic during authorization. Valid values are ENFORCE (Enforce limit and log per client (recommended)), DISABLE (Do nothing (not recommended)), PREVIEW (Log per client). Defaults to ENFORCE.
(Optional) warning_notification_email_enabled - Whether to enable rate limit warning and violation notification emails when this org meets rate limits. Defaults to true.
object({
on_login = optional(string, "ENFORCE")
on_authorize = optional(string, "ENFORCE")

warning_notification_email_enabled = optional(bool, true)
})
{} no
security_notification_email_preferences (Optional) A preferences for security notification emails. security_notification_email_preferences block as defined below.
(Optional) report_on_suspicious_activity - Whether to notify end users about suspicious or unrecognized activity from their account. Defaults to true.
(Optional) notify_on_factor_enrollment - Whether to notify end users of any activity on their account related to MFA factor enrollment. Defaults to true.
(Optional) notify_on_factor_reset - Whether to notify end users that one or more factors have been reset for their account. Defaults to true.
(Optional) notify_on_new_device - Whether to notify end users about new sign-on activity. Defaults to false.
(Optional) notify_on_password_changed - Whether to notify end users that the password for their account has changed. Defaults to true.
object({
report_on_suspicious_activity = optional(bool, true)
notify_on_factor_enrollment = optional(bool, true)
notify_on_factor_reset = optional(bool, true)
notify_on_new_device = optional(bool, false)
notify_on_password_changed = optional(bool, true)
})
{} no

Outputs

Name Description
communication_emails_enabled Whether to enable communication emails.
contact The contact attached to the Okta organization.
end_user_support The information for the end-user support.
expire_at The datetime which this organization expires.
id The ID of the Okta organization.
logo The logo file of the Okta organization.
name The name of the Okta organization.
rate_limiting_preferences The preferences for rate limiting.
security_notification_email_preferences The preferences for security notification emails.
slug The slug of the Okta organization which is used for the sub-domain like {slug}.okta.com.