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

r/aws_appmesh_virtual_node: Disallow empty 'backend' blocks #14074

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
3 changes: 1 addition & 2 deletions aws/resource_aws_appmesh_virtual_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ func resourceAwsAppmeshVirtualNode() *schema.Resource {
Schema: map[string]*schema.Schema{
"virtual_service": {
Type: schema.TypeList,
Optional: true,
MinItems: 0,
Required: true,
MaxItems: 1,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/appmesh_virtual_node.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ The `spec` object supports the following:

The `backend` object supports the following:

* `virtual_service` - (Optional) Specifies a virtual service to use as a backend for a virtual node.
* `virtual_service` - (Required) Specifies a virtual service to use as a backend for a virtual node.

The `virtual_service` object supports the following:

Expand Down