You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Terraform 0.6.3 I'm noticing that attaching a security group to an ENI isn't working as expected.
I've tried both with {$aws_security_group.csr_sg_inside.name} AND {$aws_security_group.csr_sg_inside.id} and both throw the error.
Error applying plan:
2 error(s) occurred:
* aws_network_interface.csr_inside.0: Error creating ENI: InvalidSecurityGroupID.NotFound: The securityGroup ID '{$aws_security_group.csr_sg_inside.name}' does not exist
status code: 400, request id: []
* aws_network_interface.csr_inside.1: Error creating ENI: InvalidSecurityGroupID.NotFound: The securityGroup ID '{$aws_security_group.csr_sg_inside.name}' does not exist
status code: 400, request id: []
Terraform does indeed create the security group and it exists. I had a brief look at the source...seems like I should be able to do this..
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
In Terraform 0.6.3 I'm noticing that attaching a security group to an ENI isn't working as expected.
I've tried both with
{$aws_security_group.csr_sg_inside.name}
AND{$aws_security_group.csr_sg_inside.id}
and both throw the error.Terraform does indeed create the security group and it exists. I had a brief look at the source...seems like I should be able to do this..
The text was updated successfully, but these errors were encountered: