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

Dockerize CloudFoxable #28

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

Conversation

VladimirTulcinsky
Copy link

Details

  • Windows Compatibility: Users running the tool on Windows may encounter issues with certain challenges (e.g., Wyatt, Search, The Topic is Exposure) when using the local-exec provisioner in Terraform. The goal of this update is to allow users to containerize the application to ensure smooth execution of the Terraform code without issues. By doing so, users can mount both the AWS credentials file and the cloudfoxable/aws folder to maintain persistence. This ensures that the AWS credentials file doesn’t need to be recreated each time the container is restarted. Additionally, mounting the cloudfoxable/aws folder allows for modifications to the terraform.tfvars file and ensures that the Terraform state file is written to the host system.

  • Policy Format Change: I’ve replaced the <<POLICY heredoc notation with jsonencode in Terraform to address issues caused by the former format. This ensures proper handling of the policy as a JSON object.

  • IP Address Source Update: The external IP address source has been changed from https://ifconfig.me to https://api.ipify.org. The previous source could return more than just the IP address (i.e. HTML) and https://ifconfig.me/ip could return an IPv6 address, which is not universally supported. Using https://api.ipify.org ensures that only the correct IP (IPV4) address is returned.

Hope this helps!

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.

1 participant