Open dang-ng opened 3 weeks ago
This is a strange error. I encountered this as well.
The module requires the addition of a domain name? What if I don't want to use one?
I see. If you don't want that, you need to add this to the config:
create_domain_name = false
create_domain_records = false
This skips the relevant config and avoids the error.
Personally I feel those should default to false (or flip if domain is set) but, this is straightforward enough.
yeah, these should default to false since these fields are optional as stated in the README file. Thanks anyway @codinronan
Description
i got error when trying creating a simple api_gateway below:
Reproduction Code [Required]
Steps to reproduce the behavior:
put the code in main.tf, simply run:
terraform init terraform plan
Expected behavior
There shouldn't any error
Actual behavior
Below error shown in terminal:
Terminal Output Screenshot(s)
Additional context
I think it relates to this issue here: https://github.com/terraform-aws-modules/terraform-aws-apigateway-v2/pull/119