https://github.com/aeternity/terraform-aws-api-gateway
https://github.com/aeternity/terraform-aws-api-gateway
devops
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aeternity/terraform-aws-api-gateway
- Owner: aeternity
- Created: 2019-05-07T12:28:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T07:37:07.000Z (over 1 year ago)
- Last Synced: 2025-01-13T17:49:45.010Z (over 1 year ago)
- Topics: devops
- Language: HCL
- Size: 37.1 KB
- Stars: 0
- Watchers: 14
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-aws-api-gateway
## Usage:
A certificate resource (e.g. `cert`) needs to be created in the root module then the [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) passed as `certificate_arn` (string):
* For automatic validation: use `aws_acm_certificate_validation` and pass `aws_acm_certificate_validation.cert.certificate_arn.cert.certificate_arn`
(see [test.tf](./test/test.tf))
* For manual validation: create simple `aws_acm_certificate` and pass `aws_acm_certificate.cert.arn` (`terraform apply` may fail until domain validation is complete)