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
Adding the sg as an ingress rule to the security group
Actual Behavior
Error: Error authorizing security group rule type ingress: InvalidGroup.NotFound: The security group 'sg-0d9f834XXXXXXX820' does not exist
status code: 400, request id: 35eb0f74-f0a8-47ed-ad79-3217f366b556
on ......\deploy-resource-module\securitygroupbastion\SecurityGroup.tf line 39, in resource "aws_security_group_rule" "Internal_RDP":
39: resource "aws_security_group_rule" "Internal_RDP" {
Steps to Reproduce
terraform init
terraform apply
Additional Context
When trying to execute it via API it is working:
aws ec2 authorize-security-group-ingress --group-id sg-xxxx--protocol all --port 0 --source-group sg-xxxx
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.
ghost
locked and limited conversation to collaborators
Mar 28, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Expected Behavior
Adding the sg as an ingress rule to the security group
Actual Behavior
Error: Error authorizing security group rule type ingress: InvalidGroup.NotFound: The security group 'sg-0d9f834XXXXXXX820' does not exist
status code: 400, request id: 35eb0f74-f0a8-47ed-ad79-3217f366b556
on ......\deploy-resource-module\securitygroupbastion\SecurityGroup.tf line 39, in resource "aws_security_group_rule" "Internal_RDP":
39: resource "aws_security_group_rule" "Internal_RDP" {
Steps to Reproduce
terraform init
terraform apply
Additional Context
When trying to execute it via API it is working:
References
#5464
#1261
The text was updated successfully, but these errors were encountered: