_This issue was originally opened by @Vinnl as hashicorp/terraform#12250. It was migrated here as part of the provider split. The original body of the issue is below._
(I wasn't sure if I had to create separate issues for all of these - most of them are only useful together with some of the others. If you prefer separate issues, do let me know.)
At least up to v0.8.7
The following resources are required to set up a proxy integration with an AWS Lambda function for API Gateway, and do not support importability yet:
Running the import command for these resources should update the state.
Message resource <resource> doesn't support import
.
A few more for the API Gateway import list - would love to see these! =]
Pull requests submitted:
aws_api_gateway_deployment
looks like it will require some major refactoring to support import.
The above mentioned PRs have been merged and released in version 1.33.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
@bflad Could you please also add import support for aws_lambda_permission
? @Vinnl mentioned it in the original list of resources, but it seems to have slipped through the cracks. Saves me from opening a brand-new issue. :)
+1 for "aws_api_gateway_deployment" import
Most helpful comment
+1 for "aws_api_gateway_deployment" import