Giter Site home page Giter Site logo

terraform-aws-vpc-example's People

Contributors

benoutram avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

terraform-aws-vpc-example's Issues

allowed_cidr_blocks of anything but 0.0.0.0/0 doesnt allow traffic through

First of all, thanks for the tutorial, it is extremely helpful.

I'm trying to deploy a FastAPI app using the same method as this tutorial. I am using Mongo atlas as the database, so the only real change is that I dont need to deploy a database in the VPC.

I have got everything setup and working, however when I put anything but 0.0.0.0/0 for the allowed_cidr_blocks in the user.tfvars file, I can't access my application.

I tried the example:

allowed_cidr_blocks = ["99.99.99.99/32"]

As well as allowing a range of ports:

allowed_cidr_blocks = ["99.99.99.1/24"]

However, this came up with the error message:

Error: "99.99.99.1/24" is not a valid IPv4 CIDR block; did you mean "99.99.99.0/24"?

So I tried 99.99.99.1/24 as well but that didn't work either.

Do you have any advice on what values I should be putting here to fix this?

Thanks a lot for any help!

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.