tls_private_key

    0

    0

    lucycodes42

    Terraform snippets

    The code defines a TLS private key named "myResourceName". The name, description, and algorithm are all specified. The key is based on the EC curve "P384".

    Shortcut: tf_tls_private_key

    resource "tls_private_key" "${myResourceName}" {
       name = "my-${myResourceName}"
       description = "my-description-${myResourceName}"
    
       algorithm = "ECDSA"
       ecdsa_curve = "P384"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.