Provides a Service Catalog Portfolio resource.
For information about Service Catalog Portfolio and how to use it, see What is Portfolio.
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
}
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.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.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.Service Catalog Portfolio can be imported using the id, e.g.
$ terraform import alicloud_service_catalog_portfolio.example <id>