--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/d45e7d0b-f381-4660-b5dd-4dddc901ca78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
At first sight it seems the forward slash is the issue.
On 6 Jan 2017 4:14 am, <gerardo...@renlearn.com> wrote:
Hello,Trying to create a chid resource under /my_site, so looking to create /my_site/{id}. I am getting the error below when using the below TF script. Any ideas of what I am missing in the below code?resource "aws_api_gateway_rest_api" "my_api" {name = "my_test_api"description = "My Api for testing"}resource "aws_api_gateway_resource" "api_resource" {rest_api_id = "${aws_api_gateway_rest_api.my_api.id}"parent_id = "${aws_api_gateway_rest_api.my_api.root_resource_id}"path_part = "my_site"}resource "aws_api_gateway_resource" "api_id_resource" {rest_api_id = "${aws_api_gateway_rest_api.my_api.id}"parent_id = "${aws_api_gateway_rest_api.my_api.root_resource_id}"path_part = "my_site/{id}"}aws_api_gateway_resource.api_id_resource: BadRequestException: Resource's path part only allow a-zA-Z0-9._- and curly braces at the beginning and the end.Thanks..
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/84239518-1884-407e-90db-1e287fe3e088%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
walter dolce | senior full stack software engineer
Zend Certified Engineer PHP5 // Magento Certified Developer Plus
twitter @walterdolce
skype walter.dolce
tel +44 (or 0) 7873 527127
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/84239518-1884-407e-90db-1e287fe3e088%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.