generated from cloudposse/terraform-example-module
-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for importing self-signed certificate to ACM (#5)
* Adding ACM support for secret store to self-signed-cert module * fix(module): Updating version to AWS provider in the example and fixing alias naming to meet conventions * fix(module): Missed a version * refactor(module): Switching from secret_store to certificate_backends to support storing secrets in multiple locations * test(module): Adding terratest for verifying arn. Changing name of secret_store* to certificate_backend * refactor(module): Update to readme and documentation * feat(module): Adjusting variable names for terratest * feat(module): Adding variable for certificate backends to example * Auto Format Co-authored-by: cloudpossebot <[email protected]>
- Loading branch information
1 parent
d9b2f71
commit 4831b05
Showing
29 changed files
with
614 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
resource "aws_acm_certificate" "default" { | ||
count = local.acm_enabled ? 1 : 0 | ||
private_key = local.tls_key | ||
certificate_body = local.tls_certificate | ||
certificate_chain = var.basic_constraints.ca ? var.certificate_chain : null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.