The example below will import an AWS instance into a terraform module:
Month: October 2018
Terraform Modules in Package Sub-directories
When the source of a module is a version control repository or archive file (generically, a “package”), the module itself may be in a sub-directory relative to the root of the package. A special double-slash syntax is interpreted by Terraform to indicate that the remaining path after that point is a sub-directory within the package. […]
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
Solution for nginx Just load your nginx.conf and add client_max_body_size 50m; ( changing the value to your needs ) in the http, server orlocation block. Reload nginx to accept the new config by executing sudo service nginx reload and try again to push your commit over http.