Resource: aws_servicecatalog_provisioning_artifact

Manages a Service Catalog Provisioning Artifact for a specified product.

Example Usage

Basic Usage

resource "aws_servicecatalog_provisioning_artifact" "example" {
  name         = "example"
  product_id   = aws_servicecatalog_product.example.id
  type         = "CLOUD_FORMATION_TEMPLATE"
  template_url = "https://${aws_s3_bucket.example.bucket_regional_domain_name}/${aws_s3_object.example.key}"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

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

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import aws_servicecatalog_provisioning_artifact using the provisioning artifact ID and product ID separated by a colon. For example:

import {
  to = aws_servicecatalog_provisioning_artifact.example
  id = "pa-ij2b6lusy6dec:prod-el3an0rma3"
}

Using terraform import, import aws_servicecatalog_provisioning_artifact using the provisioning artifact ID and product ID separated by a colon. For example:

% terraform import aws_servicecatalog_provisioning_artifact.example pa-ij2b6lusy6dec:prod-el3an0rma3