I am looking to add priorities to AWS App Mesh Virtual Gateways, similar to priorities for Virtual Routes. I am wondering how to request this capability be added to the aws_appmesh_gateway_route spec configuration.
Thank you.
Hi,
this feature request was already logged on GitHub.
opened 08:26AM - 18 Oct 21 UTC
enhancement
service/appmesh
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https… ://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
### Description
Allow providing priorities for Virtual Gateway Routes, similar to how it's possible for Virtual Router Routes.
### New or Affected Resource(s)
* `aws_appmesh_gateway_route`
### Potential Terraform Configuration
```hcl
resource "aws_appmesh_gateway_route" "example" {
name = "example-gateway-route"
mesh_name = "example-service-mesh"
virtual_gateway_name = aws_appmesh_virtual_gateway.example.name
spec {
priority = 7 # <<< new attribute!
http_route {
action {
target {
virtual_service {
virtual_service_name = aws_appmesh_virtual_service.example.name
}
}
}
match {
prefix = "/"
}
}
}
tags = {
Environment = "test"
}
}
```
### References
<!---
Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests
Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Vendor blog posts or documentation? For example:
* https://aws.amazon.com/about-aws/whats-new/2018/04/introducing-amazon-ec2-fleet/
--->
* https://docs.aws.amazon.com/cli/latest/reference/appmesh/create-gateway-route.html (look for `priority`)