文档

alicloud_service_catalog_portfolio

更新时间:
一键部署

Provides a Service Catalog Portfolio resource.

For information about Service Catalog Portfolio and how to use it, see What is Portfolio.

-> NOTE: Available since v1.204.0+.

Example Usage

Basic Usage

provider "alicloud" {
  region = "cn-hangzhou"
}

variable "name" {
  default = "tf_example"
}
resource "alicloud_service_catalog_portfolio" "default" {
  portfolio_name = var.name
  provider_name  = var.name
}

Argument Reference

The following arguments are supported:

  • description - (Optional) The description of the portfolio. The value must be 1 to 128 characters in length.
  • portfolio_name - (Required) The name of the portfolio. The value must be 1 to 128 characters in length.
  • provider_name - (Required) The provider name of the portfolio. The value must be 1 to 128 characters in length.

Attributes Reference

The following attributes are exported:

  • id - The key of the resource supplied above.
  • create_time - The creation time of the portfolio.
  • portfolio_arn - The ARN of the portfolio.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 5 mins) Used when create the Portfolio.
  • delete - (Defaults to 5 mins) Used when delete the Portfolio.
  • update - (Defaults to 5 mins) Used when update the Portfolio.

Import

Service Catalog Portfolio can be imported using the id, e.g.

$ terraform import alicloud_service_catalog_portfolio.example <id>

  • 本页导读 (0)
文档反馈