Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-source/pingone_trusted_email_domain_dkim: Migrated to plugin framework #802

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .changelog/802.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
```release-note:note
`data-source/pingone_trusted_email_domain_dkim`: Migrated to plugin framework.
```

```release-note:breaking-change
`data-source/pingone_trusted_email_domain_dkim`: Renamed `region` to `regions`.
```

```release-note:breaking-change
`data-source/pingone_trusted_email_domain_dkim`: Renamed `region.token` to `regions.tokens`.
```

```release-note:breaking-change
`data-source/pingone_trusted_email_domain_dkim`: Removed unnecessary `id` attribute.
```
29 changes: 14 additions & 15 deletions docs/data-sources/trusted_email_domain_dkim.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
page_title: "pingone_trusted_email_domain_dkim Data Source - terraform-provider-pingone"
subcategory: "Platform"
description: |-
Datasource to retrieve Trusted Email Domain DKIM status.
Datasource to retrieve the Trusted Email Domain DKIM status for an environment.
---

# pingone_trusted_email_domain_dkim (Data Source)

Datasource to retrieve Trusted Email Domain DKIM status.
Datasource to retrieve the Trusted Email Domain DKIM status for an environment.

## Example Usage

Expand All @@ -24,28 +24,27 @@ data "pingone_trusted_email_domain_dkim" "email_domain_dkim" {

### Required

- `environment_id` (String) The ID of the environment.
- `trusted_email_domain_id` (String) A string that specifies the auto-generated ID of the email domain.
- `environment_id` (String) The ID of the environment to retrieve trusted email domain DKIM verification for. Must be a valid PingOne resource ID. This field is immutable and will trigger a replace plan if changed.
- `trusted_email_domain_id` (String) A string that specifies the auto-generated ID of the email domain. Must be a valid PingOne resource ID. This field is immutable and will trigger a replace plan if changed.

### Read-Only

- `id` (String) The ID of this resource.
- `region` (Set of Object) The regions collection specifies the properties for the 4 AWS SES regions that are used for sending email for the environment. The regions are determined by the geography where this environment was provisioned (North America, Canada, Europe & Asia-Pacific). (see [below for nested schema](#nestedatt--region))
- `regions` (Attributes Set) The regions collection specifies the properties for the 4 AWS SES regions that are used for sending email for the environment. The regions are determined by the geography where this environment was provisioned (North America, Canada, Europe & Asia-Pacific). (see [below for nested schema](#nestedatt--regions))
- `type` (String) A string that specifies the type of DNS record.

<a id="nestedatt--region"></a>
### Nested Schema for `region`
<a id="nestedatt--regions"></a>
### Nested Schema for `regions`

Read-Only:

- `name` (String)
- `status` (String)
- `token` (Set of Object) (see [below for nested schema](#nestedobjatt--region--token))
- `name` (String) A string that specifies the name of the region.
- `status` (String) The status of the email domain ownership. Options are `ACTIVE`, `VERIFICATION_REQUIRED`.
- `tokens` (Attributes Set) A collection of key and value pairs. (see [below for nested schema](#nestedatt--regions--tokens))

<a id="nestedobjatt--region--token"></a>
### Nested Schema for `region.token`
<a id="nestedatt--regions--tokens"></a>
### Nested Schema for `regions.tokens`

Read-Only:

- `key` (String)
- `value` (String)
- `key` (String) Record name.
- `value` (String) Record value.
14 changes: 14 additions & 0 deletions docs/guides/version-1-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -3090,6 +3090,20 @@ data "pingone_populations" "example_by_data_filter" {
}
```

## Data Source: pingone_trusted_email_domain_dkim

### `id` computed attribute removed

The unnecessary `id` computed attribute has been removed.

### `region` computed attribute renamed

The `region` computed attribute has been renamed to `regions`.

### `region.token` computed attribute renamed

The `region.token` computed attribute has been renamed to `regions.tokens`.

## Data Source: pingone_user

### `status` computed attribute removed
Expand Down
1 change: 0 additions & 1 deletion internal/provider/sdkv2/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ func New(version string) func() *schema.Provider {
"pingone_certificate_signing_request": base.DatasourceCertificateSigningRequest(),
"pingone_language": base.DatasourceLanguage(),
"pingone_license": base.DatasourceLicense(),
"pingone_trusted_email_domain_dkim": base.DatasourceTrustedEmailDomainDKIM(),
"pingone_trusted_email_domain_ownership": base.DatasourceTrustedEmailDomainOwnership(),
"pingone_trusted_email_domain_spf": base.DatasourceTrustedEmailDomainSPF(),

Expand Down
Loading
Loading