-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resource aws_ses_domain_identity: Documentation update
Provide documentation for the new resource type.
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 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
46 changes: 46 additions & 0 deletions
46
website/source/docs/providers/aws/r/ses_domain_identity.html.markdown
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,46 @@ | ||
--- | ||
layout: "aws" | ||
page_title: "AWS: ses_domain_identity" | ||
sidebar_current: "docs-aws-resource-ses-domain-identity" | ||
description: |- | ||
Provides an SES domain identity resource | ||
--- | ||
|
||
# aws\_ses\_domain_identity | ||
|
||
Provides an SES domain identity resource | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `domain` - (Required) The domain name to assign to SES | ||
|
||
## Attributes Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `verification_token` - A code which when added to the domain as a TXT record | ||
will signal to SES that the owner of the domain has authorised SES to act on | ||
their behalf. The domain identity will be in state "verification pending" | ||
until this is done. See below for an example of how this might be achieved | ||
when the domain is hosted in Route 53 and managed by Terraform. Find out | ||
more about verifying domains in Amazon SES in the [AWS SES | ||
docs](http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-domains.html). | ||
|
||
## Example Usage | ||
|
||
``` | ||
resource "aws_ses_domain_identity" "example" { | ||
domain = "example.com" | ||
} | ||
resource "aws_route53_record" "example_amazonses_verification_record" { | ||
zone_id = "ABCDEFGHIJ123" | ||
name = "_amazonses.example.com" | ||
type = "TXT" | ||
ttl = "600" | ||
records = ["${aws_ses_domain_identity.example.verification_token}"] | ||
} | ||
``` | ||
|
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