Questions tagged [aws-security-group]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 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 = { ...
user avatar
1 vote
1 answer
25 views

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....
user avatar
  • 113
1 vote
1 answer
35 views

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: ...
user avatar
  • 13
4 votes
1 answer
934 views

Terraform variable Validation

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