AWS Service Catalog Portfolio

This page shows how to write Terraform and CloudFormation for AWS Service Catalog Portfolio and write them securely.


Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.


Terraform Example (aws_servicecatalog_portfolio)

Provides a resource to create a Service Catalog Portfolio.


Example Usage (from GitHub)

resource "aws_servicecatalog_portfolio" "portfolio" {
  name          =
  description   = var.description
  provider_name = var.provider_name

resource "aws_servicecatalog_portfolio" "portfolio" {
  name          = var.portfolio["name"]
  description   = var.portfolio["description"]
  provider_name = var.portfolio["provider_name"]
resource "aws_servicecatalog_portfolio" "portfolio" {
  name          = "My App Portfolio"
  description   = "List of my organizations apps"
  provider_name = "Dev"

resource "aws_servicecatalog_portfolio" "demo" {
  name          = "tfprov-demo-123"
  description   = "Porfolio demonstrating how to use the Service Catalog resource in the Terraform AWS Provider"
  provider_name = "Cloudsoft"
resource "aws_servicecatalog_portfolio" "servicecatalog_portfolio" {
  count = var.enable_servicecatalog_portfolio ? 1 : 0

  name          = var.servicecatalog_portfolio_name != "" ? lower(var.servicecatalog_portfolio_name) : "servicecatalog-portfolio"
  description   = var.servicecatalog_portfolio_description != "" ? lower(var.servicecatalog_portfolio_description) : "servicecatalog portfolio that manages by Terraform"
  provider_name = var.servicecatalog_portfolio_provider_name

CloudFormation Example (AWS::ServiceCatalog::Portfolio)

Specifies a portfolio.


Frequently asked questions

What is AWS Service Catalog Portfolio?

AWS Service Catalog Portfolio is a resource for Service Catalog of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Service Catalog Portfolio?

For Terraform, the gauravgitdir/Jack, JamesWoolfenden/terraform-aws-servicecatalog and seanremenyi/service_catalog source code examples are useful. See the Terraform Example section for further details.