Questions tagged [aws-subnets]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
115 views

Unable to connect from my local system to ec2 instance created by terraform script

Following is the source code: variable "ec2_instance_type_name" { type = string default = "t2.nano" } terraform { required_providers { aws = { ...
Vizeet Srivastava's user avatar
0 votes
1 answer
90 views

Best practice put nginx + django in AWS subnet private?public?

I want to put the fargate container which contains django + nginx However what subnet should be used for? At first I put this in public subnet, of course it works well. However, is it possible to put ...
Dekishigrash's user avatar
0 votes
1 answer
3k views

Terraform get subnet id by it's CIDR block

I have a list of CIDRs for my subnets and want to get their ids. Is it possible to do with terraform? my_subnets = ["212.12.1.0/24", "212.12.2.0/24", "212.12.3.0/24"] I ...
Most Wanted's user avatar