Skip to content

Instantly share code, notes, and snippets.

@mrballcb
Last active July 2, 2019 16:34
Show Gist options
  • Save mrballcb/9fb358d23b2c303837f3b35461159819 to your computer and use it in GitHub Desktop.
Save mrballcb/9fb358d23b2c303837f3b35461159819 to your computer and use it in GitHub Desktop.
terraform aws_api_gateway_method_response documentation error
$ TF_LOG=debug terraform plan
2019/07/02 09:33:53 [INFO] Terraform version: 0.12.3
2019/07/02 09:33:53 [INFO] Go runtime version: go1.12.4
2019/07/02 09:33:53 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2019/07/02 09:33:53 [DEBUG] Attempting to open CLI config file: /Users/tlyons/.terraformrc
2019/07/02 09:33:53 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/07/02 09:33:53 [INFO] CLI command args: []string{"plan"}
Error: Invalid resource name
on 04_api_gateway.tf line 49, in resource "aws_api_gateway_method_response" "200":
49: resource "aws_api_gateway_method_response" "200" {
A name must start with a letter and may contain only letters, digits,
underscores, and dashes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment