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

prepare-npk-installation.sh + delete_npkfile.sh scripts #155

Open
wants to merge 173 commits into
base: main
Choose a base branch
from

Conversation

davidmans7
Copy link

Hi,

I have been working last days with your marvelous NPK repository and I've developed some interesting scripts:

  • prepare-npk-installation.sh: As its name states, this script installs and configures all required tools for good NPK operation. (I am stilll working on it).
  • delete_npkfile.sh: Deploying "npk/terraform-selfhost/deploy-selfhost.sh", I treated to delete some uploaded wordlists and I realised that it wasn't possible. So I decided to develop this script by modifying "upload_npkfile.sh" one. I know that there is probably a more elegant way to do this, but the current way works.

Please, take a look at both of them and decide if including them in the current NPK repository would worth.

Thank you a lot for your work and lookig forward to your soon reply.

Kind regards,

davidmans7

AlphaGit and others added 30 commits November 16, 2019 08:44
Added a dockerfile that builds a docker image to use npk. This provides two benefits.

1. If CoalfireLabs decides to publish and maintain the npk image, then users can just run npk by using a single command line in docker.

2. If CoalfireLabs does not publish a docker image, users can still use this dockerfile to build the container themselves.

This prevents everyone from dealing with multiple terraform, python, pip and node versions that do not quite work together.

Pending to be done:

- Add ARGs, ENVs or a startup script (á la MySQL) so that the container can setup the aws credential profile when running and does not need to be a manual process.
- Add ARG, ENVs or a startup script (á la MySQL) so that the container can setup the /npk/terraform/npk-settings.json file and does not need to be a manual process.
- After these are done, we can remove `nano` (or any text editor) being installed, making the image smaller and faster to create.

This change also fixes the error in the `terraform/cognito_iam_roles.tf` template, which basically just had an extra comma. Fixes #49.
Fixed wiki reference
… AlphaGit-docker-release

Pulling AlphaGit's docker work
Capturing AlphaGit's Docker work
📌 Pin AWSCLI to version 2

📌 Use `grep -c` for terraform dependency check
The `-c` flag counts the number of matches. A bit cleaner than `wc -l`
Pin AWSCLI version and update dependency checks
neilramsay and others added 30 commits September 30, 2022 14:09
Restrict deployment and operation to specific AWS Regions
Consegna region restrictions
Update Graviton AMI name due to breaking AWS change. Add new Discord.
Fix architecture detection, use parallelcluster AMI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants