Resource: aws_servicecatalog_product

Manages a Service Catalog Product.

Example Usage

Basic Usage

resource "aws_servicecatalog_product" "example" {
  name  = "example"
  owner = "example-owner"
  type  = "CLOUD_FORMATION_TEMPLATE"

  provisioning_artifact_parameters {
    template_url = "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/temp1.json"
  }

  tags = {
    foo = "bar"
  }
}

Argument Reference

The following arguments are required:

The following arguments are optional:

provisioning_artifact_parameters

This argument supports the following arguments:

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_product using the product ID. For example:

import {
  to = aws_servicecatalog_product.example
  id = "prod-dnigbtea24ste"
}

Using terraform import, import aws_servicecatalog_product using the product ID. For example:

% terraform import aws_servicecatalog_product.example prod-dnigbtea24ste