Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.67 KB

README.md

File metadata and controls

57 lines (39 loc) · 1.67 KB

CloudFoundry Certificates Module

Introduction

This module is used to create self-signed certificates.

The outputs of this module are certificate and key. This is a map with they keys certificate and base64, which is the base64 encoded value of the certificate value.

Requirements

Name Version
tls 4.0.4

Providers

Name Version
tls 4.0.4

Modules

No modules.

Resources

Name Type
tls_private_key.this resource
tls_self_signed_cert.this resource

Inputs

Name Description Type Default Required
project_name The project name. string n/a yes
workspace Workspace to generate certificates in. string n/a yes

Outputs

Name Description
certificate The CA certificate generated by the module.
key The CA key generated by the module.

Usage

module "certificates" {
  source = "./modules/certificates"

  project_name  = local.env.project
  workspace     = local.env.bootstrap_workspace
}