Questions tagged [aws-security-group]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer

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
1 vote
1 answer

Create AWS SG and use it

I am trying to create a security group (SG) using Terraform and then use it for an AWS instance. My config looks like resource "aws_security_group" "my_sq" { vpc_id = aws_vpc....
Eugene's user avatar
  • 113
1 vote
1 answer

Common permissions for EC2 usage and VPC Security Groups in enterprise use

Context: Looking to create some software that acts as middleware to a user's AWS account, where the user will provide their cloud credentials, and have the software use their EC2 instances. Question: ...
kwj2104's user avatar
  • 13
4 votes
1 answer

Terraform variable Validation

is it possible to use validation of a variable type equals list(string)? My example: name = "tf-prd-sg-foo" image_id = "ami-00e788542ee66c64f" ...
Vader's user avatar
  • 466