Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Updates the documentation.
  • Loading branch information
DJKaswa committed Mar 17, 2022
commit 3b1150e060d390c65c96ce574342dc44766345fe
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
```
# Variables definition
variable "acm_domain_name" {
description = "Certificate name prefix trailed by hosted zone name"
variable "acm_certificate_name" {
description = "Certificate name prefix which will be trailed by the hosted-zone name"
type = list(string)
}

Expand All @@ -24,7 +24,7 @@ data "aws_route53_zone" "hosted_zone_id" {
module "new_record_and_certificate" {
source = "github.com/StratusGrid/terraform-aws-acm-certificate-creation"

for_each = toset(var.acm_domain_name)
for_each = toset(var.acm_certificate_name)
acm_domain_name = "${each.key}.${var.hosted_zone_name}"
zone_id = data.aws_route53_zone.hosted_zone_id.zone_id

Expand Down