I am in the process of creating a REST API and was wondering if there is a specific Terraform module available to help with that. I have already looked through the Terraform registry and found a module that supports creating HTTP and WebSocket APIs (Terraform Registry), but I couldn’t find one for creating a REST API.
Is there any particular reason why Terraform doesn’t seem to provide a module for creating REST APIs? Or is there a module that I might have missed? If so, could you please share it with me?
Amazon API Gateway Version 2 resources are used for creating and deploying WebSocket and HTTP APIs. To create and deploy REST APIs, use Amazon API Gateway Version 1 resources.
@acwwat Yes, I can create a REST API using Amazon API Gateway Version 1 (Terraform Registry). However, I am looking for any predefined Terraform modules that can simplify the process of creating the REST API.