Code Monkey home page Code Monkey logo

terraform-aws-polygon-technology-edge's Issues

Darwin (Mac M1) Not Supported

Issue Description

When attempting to use this module on a Mac M1 laptop, I get the following error:

│ Error: Incompatible provider version
│ 
│ Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform, darwin_arm64.
│ 
│ Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.
╵

This also correlates to the fact that the template provider is no longer supported. Another data provider should be used to future proof the module.

Unhealthy instances after deployment leads to 502 Bad Gateway

After deploying that module on AWS, the 4 EC2 instances are in "unhealthy" state on the load balancer target group:

image

The deployment went successfully but it seems there is nothing listening at port 8545 on the instance:

$ sudo lsof -i -P -n | grep LISTEN systemd-r 438 systemd-resolve 13u IPv4 19831 0t0 TCP 127.0.0.53:53 (LISTEN) sshd 1257 root 3u IPv4 25137 0t0 TCP *:22 (LISTEN) sshd 1257 root 4u IPv6 25148 0t0 TCP *:22 (LISTEN)

Deployment done by following these instructions: https://wiki.polygon.technology/docs/edge/get-started/terraform-aws-deployment/

Response I got when running the curl command described on the documentation above:
502 Bad Gateway

Deploy on Three Availability Zone

Hello,

I tried to deploy our company private chain Polygon Edge on our local / nearest Region of AWS, which is AWS Jakarta Region (ap-southeast-3).
Due to government regulation, our fintech service must reside within our country AWS region . Meanwhile, AWS Jakarta Region only have three availablilty zones.

Can we overide the availabilty zones, and deploy 4 nodes with one node overlapping placement inside an availability zone using this terraform ? Or we have to fork the repo and rework it by ourselves. I see that the availability zones number is hardcoded inside this module.

Error: local-exec provisioner error

Facing this error.

│ Error: local-exec provisioner error

│ with module.polygon-edge.null_resource.download_package,
│ on .terraform/modules/polygon-edge/main.tf line 140, in resource "null_resource" "download_package":
│ 140: provisioner "local-exec" {

│ Error running command 'curl -L -o main.zip https://raw.githubusercontent.com/Trapesys/polygon-edge-assm/aws-lambda/artifacts/main.zip': exit status 35. Output: % Total % Received %
│ Xferd Average Speed Time Time Time Current
│ Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
│ 0 0 0 --:--:-- --:--:-- --:--:-- 0
│ curl: (35) error:0A0003E8:SSL routines::reason(1000)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.