I made a github issue for this, but the AWS EC2 Se...
# general
l
I made a github issue for this, but the AWS EC2 Security Group docs reference a resource we should be using "The
aws_vpc_security_group_egress_rule
and
aws_vpc_security_group_ingress_rule
resources have been added to address these limitations and should be used for all new security group rules." Does anyone know where the docs for these resources are? I can't find any other Security Group resources than the ones under the EC2 module of the docs. As far as I can tell there's no aws.vpc module
d
It looks like these will be added in v6. For now, you can use this: https://www.pulumi.com/registry/packages/aws/api-docs/ec2/securitygrouprule/
l
Huh, ok that resource has the same warning though, so I don't see why I would pick one over the other I mean maybe hold off on adding the reference to the docs until it's actually released because I spent a ridiculous amount of time in the docs looking for something that doesn't exist
d
Agree that there's a few warnings and references that shouldn't exist; and does add a lot of confusion. They're generated from the Terraform provider. Understandable that a few of these get missed as there's a lot of resources
l
Fair enough, alright well thanks for the explanation and help
d
I think if it's using the
aws_vpc_...
structure (ie, with underscores), it won't exist in Pulumi
l
Right, I just assumed since that was grabbed straight from the terraform docs there would be some module for a vpc somewhere that I was missing. since it seems that generally there's an aws.module to correspond to the terraform aws_ version