{ "info": { "author": "David D. Riddle", "author_email": "ddriddle@illinois.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "Project description\n-------------------\n\nA Terragrunt rapid development tool to simplify overriding the\n``source`` parameter in a ``terraform.tfvars`` file.\n\n\nIntroduction\n------------\n\n``terragrunt-source`` is a simple script that parses the source\nline from the ``terraform.tfvars`` file in the current working\ndirectory producing a path to a local source tree that can be used\nby terragrunt during development. The path to the local source tree\nis looked up in the environment variable ``TERRAGRUNT_DEFAULT_MODULES_REPO``.\n\nThis is best illustrated be an example. If you are in a directory\nthat contains a ``terraform.tfvars`` file with the following content::\n\n terragrunt = {\n include {\n path = \"${find_in_parent_folders()}\"\n }\n\n terraform {\n source = \"git::git@github.com:org/repo.git//lambda?ref=v0.6.2\"\n }\n }\n\nAnd if ``TERRAGRUNT_DEFAULT_MODULES_REPO`` is set to ``/usr/src/modules``\nthen then we expect the following output::\n\n $ terragrunt-source\n /usr/src/modules//lambda\n\nThen we can use terragrunt like so::\n\n $ terragrunt plan --terragrunt-source `terragrunt-source`\n\nAnother way this can be run is as follows::\n\n $ TERRAGRUNT_SOURCE=`terragrunt-source` terragrunt plan\n\nQuick start\n-----------\n\n1. Install terragrunt-source::\n\n $ pip install terragrunt-source\n\n2. Append the following to your ``~/.bashrc``::\n\n export TERRAGRUNT_DEFAULT_MODULES_REPO=/path/to/your/checked/out/code\n\n terragrunt-source() {\n TERRAGRUNT_SOURCE=$($(which terragrunt-source)) terragrunt $@\n }\n\n3. Reload your ``~/.bashrc``::\n\n $ source ~/.bashrc\n\n4. Change to a Terragrunt configuration directory::\n\n $ terragrunt-source plan\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ddriddle/terragrunt-source", "keywords": "terragrunt terraform source", "license": "", "maintainer": "", "maintainer_email": "", "name": "terragrunt-source", "package_url": "https://pypi.org/project/terragrunt-source/", "platform": "", "project_url": "https://pypi.org/project/terragrunt-source/", "project_urls": { "Bug Reports": "https://github.com/ddriddle/terragrunt-source/issues", "Homepage": "https://github.com/ddriddle/terragrunt-source", "Source": "https://github.com/ddriddle/terragrunt-source" }, "release_url": "https://pypi.org/project/terragrunt-source/0.1.0a3/", "requires_dist": [ "pyhcl", "future; python_version < \"3\"" ], "requires_python": ">=2.6", "summary": "A Terragrunt rapid development tool to simplify overriding the source parameter in a terraform.tfvars file.", "version": "0.1.0a3" }, "last_serial": 3879449, "releases": { "0.1.0a1": [ { "comment_text": "", "digests": { "md5": "e2a3e40d1496aa7c1c7069c2ca1e29a5", "sha256": "d75882c51a9c8edab77c2e5eb8077e2b4711e9eab742af028e1fbec6f7cd806b" }, "downloads": -1, "filename": "terragrunt_source-0.1.0a1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e2a3e40d1496aa7c1c7069c2ca1e29a5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 3699, "upload_time": "2018-05-17T04:14:28", "url": "https://files.pythonhosted.org/packages/61/58/27efc1411eb894d2f47127a176215fe162b5353dedd947c3049ffd70fb80/terragrunt_source-0.1.0a1-py2.py3-none-any.whl" } ], "0.1.0a2": [ { "comment_text": "", "digests": { "md5": "f214672d53641a5415301a7448b6aa68", "sha256": "b6619814ba94e46dfb35791d1473b58d1d09aad9446fc654bf1bb4994ae7348d" }, "downloads": -1, "filename": "terragrunt_source-0.1.0a2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f214672d53641a5415301a7448b6aa68", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 3704, "upload_time": "2018-05-17T04:25:35", "url": "https://files.pythonhosted.org/packages/cf/1f/cc0755769907ad904208038ade8c2d3c7d55a8497c8f69c7083a33a8c208/terragrunt_source-0.1.0a2-py2.py3-none-any.whl" } ], "0.1.0a3": [ { "comment_text": "", "digests": { "md5": "104a7d42c19f88c84e8d50fb07076d0f", "sha256": "946aa530d965f597b676bd69d1c28a3bde7878705d6ed08c8ac68db47312b10d" }, "downloads": -1, "filename": "terragrunt_source-0.1.0a3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "104a7d42c19f88c84e8d50fb07076d0f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 4337, "upload_time": "2018-05-19T17:32:19", "url": "https://files.pythonhosted.org/packages/89/23/d92298c0f67562d4462cf357c9f2071babdb85a8cadfc5910c55b3a99149/terragrunt_source-0.1.0a3-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "104a7d42c19f88c84e8d50fb07076d0f", "sha256": "946aa530d965f597b676bd69d1c28a3bde7878705d6ed08c8ac68db47312b10d" }, "downloads": -1, "filename": "terragrunt_source-0.1.0a3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "104a7d42c19f88c84e8d50fb07076d0f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.6", "size": 4337, "upload_time": "2018-05-19T17:32:19", "url": "https://files.pythonhosted.org/packages/89/23/d92298c0f67562d4462cf357c9f2071babdb85a8cadfc5910c55b3a99149/terragrunt_source-0.1.0a3-py2.py3-none-any.whl" } ] }