文档

alicloud_api_gateway_app

更新时间:

Provides an app resource.It must create an app before calling a third-party API because the app is the identity used to call the third-party API.

For information about Api Gateway App and how to use it, see Create An APP

-> NOTE: Available since v1.22.0.

-> NOTE: Terraform will auto build api app while it uses alicloud_api_gateway_app to build api app.

Example Usage

Basic Usage

resource "alicloud_api_gateway_app" "example" {
  name        = "tf_example"
  description = "tf_example"
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the app.
  • description - (Optional) The description of the app. Defaults to null.
  • tags - (Optional, Available in v1.55.3+) A mapping of tags to assign to the resource.

Attributes Reference

The following attributes are exported:

  • id - The ID of the app of api gateway.

Import

Api gateway app can be imported using the id, e.g.

$ terraform import alicloud_api_gateway_app.example "7379660"

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