Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pyhcl with python-hcl2, as it supports current version of HCL. #203

Merged
merged 1 commit into from
Mar 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]
# hadolint ignore=DL3013
RUN pip3 install --no-cache-dir \
cloudflare \
ply \
pyhcl \
python-hcl2 \
requests \
slack_sdk

Expand Down
51 changes: 25 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,29 +156,28 @@ docker run --rm \

### Binaries and Python libraries

| Name | Type | Description | Source/Documentation |
| ---------- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| bash | Binary | For color output from `terraform` and`terragrunt`. Assures also access to some builtins. | https://www.gnu.org/software/bash/ |
| bc | Binary | For numeric operations. | https://www.gnu.org/software/bc/bc.html |
| cloudflare | Python library | For Cloudflare API operations | https://github.com/cloudflare/python-cloudflare |
| curl | Binary | For interacting with [ElasticSearch](https://github.com/elastic/elasticsearch) and [Kibana](https://github.com/elastic/kibana). | https://curl.haxx.se/ |
| docker | Binary | For running another container, e.g. for deploying Lambdas with [LambCI's](https://github.com/lambci) [docker-lambda](https://github.com/lambci/docker-lambda). | https://github.com/docker/docker-ce |
| git | Binary | For interacting with [Github](https://github.com) repositories. | https://git-scm.com/ |
| hub | Binary | For interacting with [Github](https://github.com) APIs. | https://github.com/github/hub |
| jq | Binary | For parsing JSON outputs of [awscli](https://github.com/aws/aws-cli). | https://stedolan.github.io/jq/ |
| hcledit | Binary | For reading and writing HCL files. | https://github.com/minamijoyo/hcledit |
| make | Binary | For using `Makefile` instead of scripts in deployment process. | https://www.gnu.org/software/make/ |
| ncurses | Binary | For expanding `Makefile` with some colors. | https://invisible-island.net/ncurses/announce.html |
| openssh | Binary | For allowing outgoing SSH connections. | https://www.openssh.com/ |
| openssl | Binary | For calculating BASE64SHA256 hash of Lambda packages. Assures updating Lambdas only when package hash changed. | https://github.com/openssl/openssl |
| ply | Python library | Dependency for [pyhcl](https://github.com/virtuald/pyhcl). | https://github.com/dabeaz/ply |
| pyhcl | Python library | For easily parsing of any files in HCL format, whether it's `.hcl`, `.tfvars` or `.tf`. | https://github.com/virtuald/pyhcl |
| python3 | Binary | For running more complex scripts during deployment process. | https://www.python.org/ |
| requests | Python library | For sending HTTP requests, for example integration with Slack | https://github.com/psf/requests |
| slack_sdk | Python library | For integration with Slack applications/bots, e.g. creating channels for notifications | https://github.com/slackapi/python-slack-sdk |
| sops | Binary | For encrypting config files for Terragrunt's `sops_decrypt_file`. | https://github.com/mozilla/sops/ |
| terraform | Binary | For managing IaC. Dependency for [Terragrunt](https://github.com/gruntwork-io/terragrunt). | https://github.com/hashicorp/terraform |
| terragrunt | Binary | For managing IaC. Wrapper over [Terraform](https://github.com/hashicorp/terraform). | https://github.com/gruntwork-io/terragrunt |
| tflint | Binary | For linting Terraform files. | https://github.com/terraform-linters/tflint |
| unzip | Binary | For extracting packages. | http://infozip.sourceforge.net/ |
| zip | Binary | For creating packages for Lambdas. | http://infozip.sourceforge.net/ |
| Name | Type | Description | Source/Documentation |
| ----------- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| bash | Binary | For color output from `terraform` and`terragrunt`. Assures also access to some builtins. | https://www.gnu.org/software/bash/ |
| bc | Binary | For numeric operations. | https://www.gnu.org/software/bc/bc.html |
| cloudflare | Python library | For Cloudflare API operations | https://github.com/cloudflare/python-cloudflare |
| curl | Binary | For interacting with [ElasticSearch](https://github.com/elastic/elasticsearch) and [Kibana](https://github.com/elastic/kibana). | https://curl.haxx.se/ |
| docker | Binary | For running another container, e.g. for deploying Lambdas with [LambCI's](https://github.com/lambci) [docker-lambda](https://github.com/lambci/docker-lambda). | https://github.com/docker/docker-ce |
| git | Binary | For interacting with [Github](https://github.com) repositories. | https://git-scm.com/ |
| hub | Binary | For interacting with [Github](https://github.com) APIs. | https://github.com/github/hub |
| jq | Binary | For parsing JSON outputs of [awscli](https://github.com/aws/aws-cli). | https://stedolan.github.io/jq/ |
| hcledit | Binary | For reading and writing HCL files. | https://github.com/minamijoyo/hcledit |
| make | Binary | For using `Makefile` instead of scripts in deployment process. | https://www.gnu.org/software/make/ |
| ncurses | Binary | For expanding `Makefile` with some colors. | https://invisible-island.net/ncurses/announce.html |
| openssh | Binary | For allowing outgoing SSH connections. | https://www.openssh.com/ |
| openssl | Binary | For calculating BASE64SHA256 hash of Lambda packages. Assures updating Lambdas only when package hash changed. | https://github.com/openssl/openssl |
| python-hcl2 | Python library | For reading HCL files in Python. | https://github.com/amplify-education/python-hcl2 |
| python3 | Binary | For running more complex scripts during deployment process. | https://www.python.org/ |
| requests | Python library | For sending HTTP requests, for example integration with Slack | https://github.com/psf/requests |
| slack_sdk | Python library | For integration with Slack applications/bots, e.g. creating channels for notifications | https://github.com/slackapi/python-slack-sdk |
| sops | Binary | For encrypting config files for Terragrunt's `sops_decrypt_file`. | https://github.com/mozilla/sops/ |
| terraform | Binary | For managing IaC. Dependency for [Terragrunt](https://github.com/gruntwork-io/terragrunt). | https://github.com/hashicorp/terraform |
| terragrunt | Binary | For managing IaC. Wrapper over [Terraform](https://github.com/hashicorp/terraform). | https://github.com/gruntwork-io/terragrunt |
| tflint | Binary | For linting Terraform files. | https://github.com/terraform-linters/tflint |
| unzip | Binary | For extracting packages. | http://infozip.sourceforge.net/ |
| zip | Binary | For creating packages for Lambdas. | http://infozip.sourceforge.net/ |