Resource: aws_signer_signing_profile

Creates a Signer Signing Profile. A signing profile contains information about the code signing configuration parameters that can be used by a given code signing user.

Example Usage

resource "aws_signer_signing_profile" "test_sp" {
  platform_id = "AWSLambda-SHA384-ECDSA"
}

resource "aws_signer_signing_profile" "prod_sp" {
  platform_id = "AWSLambda-SHA384-ECDSA"
  name_prefix = "prod_sp_"

  signature_validity_period {
    value = 5
    type  = "YEARS"
  }

  tags = {
    tag1 = "value1"
    tag2 = "value2"
  }
}

Argument Reference

signature_validity_period Block

The signature_validity_period configuration block supports the following arguments:

signing_material Block

The signing_material configuration block supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

revocation_record Block

The revocation_record configuration block supports the following attributes:

Import

In Terraform v1.5.0 and later, use an import block to import Signer signing profiles using the name. For example:

import {
  to = aws_signer_signing_profile.test_signer_signing_profile
  id = "test_sp_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK"
}

Using terraform import, import Signer signing profiles using the name. For example:

% terraform import aws_signer_signing_profile.test_signer_signing_profile test_sp_DdW3Mk1foYL88fajut4mTVFGpuwfd4ACO6ANL0D1uIj7lrn8adK