{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/18644","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/18644/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/18644/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/18644/events","html_url":"https://github.com/hashicorp/terraform/issues/18644","id":349116686,"node_id":"MDU6SXNzdWUzNDkxMTY2ODY=","number":18644,"title":"Api Gateway : missing required argument","user":{"login":"asrivastava2017","id":25741724,"node_id":"MDQ6VXNlcjI1NzQxNzI0","avatar_url":"https://avatars3.githubusercontent.com/u/25741724?v=4","gravatar_id":"","url":"https://api.github.com/users/asrivastava2017","html_url":"https://github.com/asrivastava2017","followers_url":"https://api.github.com/users/asrivastava2017/followers","following_url":"https://api.github.com/users/asrivastava2017/following{/other_user}","gists_url":"https://api.github.com/users/asrivastava2017/gists{/gist_id}","starred_url":"https://api.github.com/users/asrivastava2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asrivastava2017/subscriptions","organizations_url":"https://api.github.com/users/asrivastava2017/orgs","repos_url":"https://api.github.com/users/asrivastava2017/repos","events_url":"https://api.github.com/users/asrivastava2017/events{/privacy}","received_events_url":"https://api.github.com/users/asrivastava2017/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-09T12:59:06Z","updated_at":"2018-08-09T12:59:06Z","closed_at":null,"author_association":"NONE","body":"Hi Team,\r\n\r\nI was using the variable block for the deployment of api gateway : \r\nresource \"aws_api_gateway_deployment\" \"myapideployment\" {\r\n  depends_on = [\r\n    \"aws_api_gateway_integration.res1integration\",\r\n    \"aws_api_gateway_integration.res2integration\",\r\n  ]\r\n\r\n  rest_api_id = \"${aws_api_gateway_rest_api.myapi.id}\"\r\n  stage_name  = \"deploytest\"\r\n\r\n  variables {\r\n    version = \"${var.version}\"\r\n  }\r\n\r\n  lifecycle {\r\n    create_before_destroy = true\r\n  }\r\n}\r\n\r\nI am calling this as a module.\r\nTill sometime back it was working fine but now it started to give below error : \r\n\r\n\u001B[0m\u001B[1mInitializing the backend...\u001B[0m\r\n\u001B[0m\u001B[32m\r\nSuccessfully configured the backend \"s3\"! Terraform will automatically\r\nuse this backend unless the backend configuration changes.\u001B[0m\r\n\u001B[31m\r\n\u001B[1m\u001B[31mError: \u001B[0m\u001B[0m\u001B[1mmodule \"myapigateway\": missing required argument \"version\"\u001B[0m\r\n\r\nany idea ??"}}
{"actor":{"display_login":"asrivastava2017"}}