Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource/alicloud_api_gateway_group: update description as optional #7158

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alicloud/resource_alicloud_api_gateway_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func resourceAliyunApigatewayGroup() *schema.Resource {
},
"description": {
Type: schema.TypeString,
Required: true,
Optional: true,
},
"sub_domain": {
Type: schema.TypeString,
Expand Down
6 changes: 3 additions & 3 deletions alicloud/resource_alicloud_api_gateway_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func testSweepApiGatewayGroup(region string) error {
return nil
}

func TestAccAlicloudApigatewayGroup_basic(t *testing.T) {
func TestAccAliCloudApigatewayGroup_basic(t *testing.T) {
var v *cloudapi.DescribeApiGroupResponse

resourceId := "alicloud_api_gateway_group.default"
Expand Down Expand Up @@ -178,7 +178,7 @@ func TestAccAlicloudApigatewayGroup_basic(t *testing.T) {
})
}

func TestAccAlicloudApigatewayGroup_basic01(t *testing.T) {
func TestAccAliCloudApigatewayGroup_basic01(t *testing.T) {
var v *cloudapi.DescribeApiGroupResponse

resourceId := "alicloud_api_gateway_group.default"
Expand Down Expand Up @@ -228,7 +228,7 @@ func TestAccAlicloudApigatewayGroup_basic01(t *testing.T) {
})
}

func TestAccAlicloudApigatewayGroup_multi(t *testing.T) {
func TestAccAliCloudApigatewayGroup_multi(t *testing.T) {
var v *cloudapi.DescribeApiGroupResponse
resourceId := "alicloud_api_gateway_group.default.9"
ra := resourceAttrInit(resourceId, apigatewayGroupBasicMap)
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ resource "alicloud_api_gateway_group" "default" {
The following arguments are supported:

* `name` - (Required) The name of the api gateway group. Defaults to null.
* `description` - (Required) The description of the api gateway group. Defaults to null.
* `description` - (Optional) The description of the api gateway group. Defaults to null.
* `instance_id` - (Optional, ForceNew, Available in 1.179.0+) The id of the api gateway.

## Attributes Reference
Expand Down
Loading