terraform-cdk
terraform-cdk copied to clipboard
Terraform CDK Doesnot allow to create GCP APiGateway
Hi Team,
Trying to create an apigateway using terraform cdk in GCP, but while trying to import the module from @cdktf/provider-google it doesnot show any module, doesnot terraform cdk support creation on apigateway in Google Cloud.

I have imported the beta module of cdktf and was able to import apigw but not able to view the module parameters as the webpage loads page not found.
Resources only being in the beta version of the provider is a general property of the Google Terraform provider. I don't know the exact details, but they have no resources incubate in the beta provider for some time before moving to the main provider.
The documentation link being wrong is something that will need to be looked into. In the meantime, here's the correct link: https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/api_gateway_api
Hi Jon,
Thanks for the response i started using the shared document , but i am not able to create the configuration for the apigw, not able to add the openapigwdocuments parameters and grpc services as it displays no value exists in scope for that property.
Attaching the screenshots below
Looks like an unfortunate naming collision. There are both GoogleApiGatewayApiConfigA and GoogleApiGatewayApiConfig. The former is used to configure google_api_gateway_api_config and the later google_api_gateway_api.
This looks like the question is answered, closing it for now :)
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.