As of AWS SDK v1.19.36 additional Amazon API Gateway resources can be tagged:
This release adds support for tagging of Amazon API Gateway resources.
Requires:
Announcement.
Developer guide.
aws_api_gateway_stage resources already supported resource tags - https://github.com/terraform-providers/terraform-provider-aws/pull/2858.
Affected resources:
aws_api_gateway_api_key](https://www.terraform.io/docs/providers/aws/r/api_gateway_api_key.html) - https://github.com/terraform-providers/terraform-provider-aws/pull/10568aws_api_gateway_client_certificate](https://www.terraform.io/docs/providers/aws/r/api_gateway_client_certificate.html) - https://github.com/terraform-providers/terraform-provider-aws/pull/10569aws_api_gateway_domain_name](https://www.terraform.io/docs/providers/aws/r/api_gateway_domain_name.html) - https://github.com/terraform-providers/terraform-provider-aws/pull/10567aws_api_gateway_rest_api](https://www.terraform.io/docs/providers/aws/r/api_gateway_rest_api.html) - https://github.com/terraform-providers/terraform-provider-aws/pull/10581aws_api_gateway_usage_plan](https://www.terraform.io/docs/providers/aws/r/api_gateway_usage_plan.html) - https://github.com/terraform-providers/terraform-provider-aws/pull/10566aws_api_gateway_vpc_link](https://www.terraform.io/docs/providers/aws/r/api_gateway_vpc_link.html) - https://github.com/terraform-providers/terraform-provider-aws/pull/10561Resource tagging with API Gateway resources that support it directly (others inherit tags from parent resources) has now been merged. Tagging for the last remaining resource in this feature request, aws_api_gateway_rest_api, will release with version 2.37.0 of the Terraform AWS Provider, by Thursday next week. Thanks to @stephentyellis and @DrFaust92 for their implementations. 馃殌
This has been released in version 2.37.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!
Please note that due to some strange behavior with GitHub's Squash and Merge functionality, the aws_api_gateway_usage_plan tagging enhancements will go out in version 2.42.0 of the Terraform AWS Provider.
Most helpful comment
Resource tagging with API Gateway resources that support it directly (others inherit tags from parent resources) has now been merged. Tagging for the last remaining resource in this feature request,
aws_api_gateway_rest_api, will release with version 2.37.0 of the Terraform AWS Provider, by Thursday next week. Thanks to @stephentyellis and @DrFaust92 for their implementations. 馃殌