|
1 |
| -# terraform-aws-acm-request |
| 1 | +# terraform-aws-acm-request-certificate [](https://travis-ci.org/cloudposse/terraform-aws-acm-request-certificate) |
| 2 | + |
| 3 | +Terraform module to request an ACM certificate for a domain name and create a CNAME record in the DNZ zone to complete certificate validation |
| 4 | + |
| 5 | + |
| 6 | +## Usage |
| 7 | + |
| 8 | +```hcl |
| 9 | +module "acm_request_certificate" { |
| 10 | + source = "git::https://github.com/cloudposse/terraform-aws-acm-request-certificate.git?ref=master" |
| 11 | + domain_name = "example.com" |
| 12 | + proces_domain_validation_options = "true" |
| 13 | + ttl = "300" |
| 14 | +} |
| 15 | +``` |
| 16 | + |
| 17 | + |
| 18 | +## Variables |
| 19 | + |
| 20 | +| Name | Default | Description | Required | |
| 21 | +|:------------------------------------|:-------------|:-----------------------------------------------------------------------------------|:--------:| |
| 22 | +| `domain_name` | `` | A domain name for which the certificate should be issued | Yes | |
| 23 | +| `validation_method` | `DNS` | Which method to use for validation, `DNS` or `EMAIL` | No | |
| 24 | +| `proces_domain_validation_options` | `true` | Flag to enable/disable processing of the record to add to the DNS zone to complete certificate validation | No | |
| 25 | +| `ttl` | `300` | The TTL of the record to add to the DNS zone to complete certificate validation | No | |
| 26 | +| `tags` | `{}` | Additional tags (_e.g._ `map("BusinessUnit","XYZ")` | No | |
| 27 | + |
| 28 | + |
| 29 | +## Outputs |
| 30 | + |
| 31 | +| Name | Description | |
| 32 | +|:-----------------------------|:-------------------------------------------------------------------------------| |
| 33 | +| `id` | The ARN of the certificate | |
| 34 | +| `arn` | The ARN of the certificate | |
| 35 | +| `domain_validation_options` | CNAME record that is added to the DNS zone to complete certificate validation | |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +## Help |
| 40 | + |
| 41 | +**Got a question?** |
| 42 | + |
| 43 | +File a GitHub [issue ](https://github.com/cloudposse/terraform-aws-acm-request-certificate/issues), send us an [email ](mailto:[email protected]) or reach out to us on [Gitter ](https://gitter.im/cloudposse/). |
| 44 | + |
| 45 | + |
| 46 | +## Contributing |
| 47 | + |
| 48 | +### Bug Reports & Feature Requests |
| 49 | + |
| 50 | +Please use the [issue tracker](https://github.com/cloudposse/terraform-aws-acm-request-certificate/issues) to report any bugs or file feature requests. |
| 51 | + |
| 52 | +### Developing |
| 53 | + |
| 54 | +If you are interested in being a contributor and want to get involved in developing `terraform-aws-acm-request-certificate`, we would love to hear from you! Shoot us an [email ](mailto:[email protected]). |
| 55 | + |
| 56 | +In general, PRs are welcome. We follow the typical "fork-and-pull" Git workflow. |
| 57 | + |
| 58 | + 1. **Fork** the repo on GitHub |
| 59 | + 2. **Clone** the project to your own machine |
| 60 | + 3. **Commit** changes to your own branch |
| 61 | + 4. **Push** your work back up to your fork |
| 62 | + 5. Submit a **Pull request** so that we can review your changes |
| 63 | + |
| 64 | +**NOTE:** Be sure to merge the latest from "upstream" before making a pull request! |
| 65 | + |
| 66 | + |
| 67 | +## License |
| 68 | + |
| 69 | +[APACHE 2.0](LICENSE) © 2018 [Cloud Posse, LLC](https://cloudposse.com) |
| 70 | + |
| 71 | +See [LICENSE](LICENSE) for full details. |
| 72 | + |
| 73 | + Licensed to the Apache Software Foundation (ASF) under one |
| 74 | + or more contributor license agreements. See the NOTICE file |
| 75 | + distributed with this work for additional information |
| 76 | + regarding copyright ownership. The ASF licenses this file |
| 77 | + to you under the Apache License, Version 2.0 (the |
| 78 | + "License"); you may not use this file except in compliance |
| 79 | + with the License. You may obtain a copy of the License at |
| 80 | + |
| 81 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 82 | + |
| 83 | + Unless required by applicable law or agreed to in writing, |
| 84 | + software distributed under the License is distributed on an |
| 85 | + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 86 | + KIND, either express or implied. See the License for the |
| 87 | + specific language governing permissions and limitations |
| 88 | + under the License. |
| 89 | + |
| 90 | + |
| 91 | +## About |
| 92 | + |
| 93 | +`terraform-aws-acm-request-certificate` is maintained and funded by [Cloud Posse, LLC][website]. |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | +Like it? Please let us know at <[email protected]> |
| 99 | + |
| 100 | +We love [Open Source Software](https://github.com/cloudposse/)! |
| 101 | + |
| 102 | +See [our other projects][community] |
| 103 | +or [hire us][hire] to help build your next cloud platform. |
| 104 | + |
| 105 | + [website]: https://cloudposse.com/ |
| 106 | + [community]: https://github.com/cloudposse/ |
| 107 | + [hire]: https://cloudposse.com/contact/ |
| 108 | + |
| 109 | + |
| 110 | +### Contributors |
| 111 | + |
| 112 | +| [![Erik Osterman][erik_img]][erik_web]<br/>[Erik Osterman][erik_web] | [![Andriy Knysh][andriy_img]][andriy_web]<br/>[Andriy Knysh][andriy_web] | |
| 113 | +|-------------------------------------------------------|------------------------------------------------------------------| |
| 114 | + |
| 115 | + [erik_img]: http://s.gravatar.com/avatar/88c480d4f73b813904e00a5695a454cb?s=144 |
| 116 | + [erik_web]: https://github.com/osterman/ |
| 117 | + [andriy_img]: https://avatars0.githubusercontent.com/u/7356997?v=4&u=ed9ce1c9151d552d985bdf5546772e14ef7ab617&s=144 |
| 118 | + [andriy_web]: https://github.com/aknysh/ |
0 commit comments