Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 5, 2024
1 parent 5b62d53 commit 4a4e5d9
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
4 changes: 3 additions & 1 deletion acmpca/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ the ARN if completed. You'll use the ARN for an AWS LB Listener.

## Modules

No modules.
| Name | Source | Version |
|------|--------|---------|
| <a name="module_cert"></a> [cert](#module\_cert) | git@github.e.it.census.gov:terraform-modules/aws-certificates//acm | n/a |

## Resources

Expand Down
54 changes: 54 additions & 0 deletions acmpca/example.tf.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
module "cert1" {
source = "git@github.e.it.census.gov:terraform-modules/aws-certificates//acmpca"

certificate_dns = "test1.domain.census.gov"
contact_email = "cio.engineering.alert.list@census.gov"
create_files = false
certificate_authority_mode = "general"
certificate_type = "end-entity"

## optional
# certificate_san = [ "otherdomain.domain.census.gov" ]
}


module "cert2" {
source = "git@github.e.it.census.gov:terraform-modules/aws-certificates//acmpca"

certificate_dns = "test2.domain.census.gov"
contact_email = "cio.engineering.alert.list@census.gov"
create_files = true
certificate_authority_mode = "general"
certificate_type = "subordinate-ca"
certificate_subject_overrides = { ou = "PKI-EKS my-cluster" }
}

module "cert3" {
source = "git@github.e.it.census.gov:terraform-modules/aws-certificates//acmpca"

certificate_dns = "test1.domain.census.gov"
contact_email = "cio.engineering.alert.list@census.gov"
create_files = false
certificate_authority_mode = "short"
validity_days = 2

## optional
# certificate_san = [ "otherdomain.domain.census.gov" ]
}

certificate_authority_mode = "general"
certificate_authority_template = ""
certificate_cn = ""
certificate_dns = ""
certificate_filename = ""
certificate_san = []
certificate_subject_overrides = {}
certificate_type = "end-entity"
contact_email = ""
create_files = false
csr_filename = ""
key_filename = ""
output_file_directory = ""
override_prefixes = {}
tags = {}
validity_days = 365

0 comments on commit 4a4e5d9

Please sign in to comment.