Resource: aws_signer_signing_job

Creates a Signer Signing Job.

Example Usage

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

resource "aws_signer_signing_job" "build_signing_job" {
  profile_name = aws_signer_signing_profile.test_sp.name

  source {
    s3 {
      bucket  = "s3-bucket-name"
      key     = "object-to-be-signed.zip"
      version = "jADjFYYYEXAMPLETszPjOmCMFDzd9dN1"
    }
  }

  destination {
    s3 {
      bucket = "s3-bucket-name"
      prefix = "signed/"
    }
  }

  ignore_signing_job_failure = true
}

Argument Reference

Source

The source configuration block supports the following arguments:

S3 Source

The configuration block supports the following arguments:

Destination

The destination configuration block supports the following arguments:

S3 Destination

The configuration block supports the following arguments:

Attribute Reference

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

Import

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

import {
  to = aws_signer_signing_job.test_signer_signing_job
  id = "9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee"
}

Using terraform import, import Signer signing jobs using the job_id. For example:

% terraform import aws_signer_signing_job.test_signer_signing_job 9ed7e5c3-b8d4-4da0-8459-44e0b068f7ee