benoutram / terraform-aws-vpc-example Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.