Skip to content

Commit

Permalink
resource/aws_cloudfront_distribution: go fmt and minor documentation …
Browse files Browse the repository at this point in the history
…fixes
  • Loading branch information
bflad committed Sep 5, 2019
1 parent ebdc976 commit cad90e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion aws/cloudfront_distribution_configuration_structure.go
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ func flattenCloudfrontActiveTrustedSigners(ats *cloudfront.ActiveTrustedSigners)

m := map[string]interface{}{
"enabled": aws.BoolValue(ats.Enabled),
"items": flattenCloudfrontSigners(ats.Items),
"items": flattenCloudfrontSigners(ats.Items),
}

return []interface{}{m}
Expand Down
4 changes: 2 additions & 2 deletions aws/resource_aws_cloudfront_distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ func resourceAwsCloudFrontDistribution() *schema.Resource {
"active_trusted_signers": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Resource{
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"enabled": {
Type: schema.TypeBool,
Expand All @@ -706,7 +706,7 @@ func resourceAwsCloudFrontDistribution() *schema.Resource {
"items": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Resource{
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"aws_account_number": {
Type: schema.TypeString,
Expand Down
8 changes: 4 additions & 4 deletions website/docs/r/cloudfront_distribution.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,11 @@ In addition to all arguments above, the following attributes are exported:
distribution's information is fully propagated throughout the Amazon
CloudFront system.

* `active_trusted_signers` - Nested attributes of trusted signers that CloudFront is aware, if the distribution is set up to serve private content with signed URLs.
* `enabled` - Enabled is `true` if any of the AWS accounts listed as trusted signers have active CloudFront key pairs.
* `items` - Nested attributes of each trusted signer.
* `active_trusted_signers` - Nested attributes of active trusted signers, if the distribution is set up to serve private content with signed URLs
* `enabled` - `true` if any of the AWS accounts listed as trusted signers have active CloudFront key pairs
* `items` - Nested attributes of each trusted signer
* `aws_account_number` - AWS account ID or `self`
* `key_pair_ids` - Set of active CloudFront key pairs associated with the signer account.
* `key_pair_ids` - Set of active CloudFront key pairs associated with the signer account

* `domain_name` - The domain name corresponding to the distribution. For
example: `d604721fxaaqy9.cloudfront.net`.
Expand Down

0 comments on commit cad90e6

Please sign in to comment.