hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.73k stars 9.09k forks source link

RDS `aws_default_db_security_group` resource #13051

Open don-code opened 4 years ago

don-code commented 4 years ago

Community Note

Description

The AWS provider has resources like default_security_group, which "takes ownership" of the default VPC security group that's auto-generated with all new AWS accounts, and allows it to be managed as if it had been created with Terraform.

A default RDS security group, only used by EC2-Classic, is also created with every new account - including (confusingly!) accounts which are VPC-only. This security group cannot be deleted.

I'd like to be able to tag this security group, so that I can explicitly tell other automation we have that it's not used.

New or Affected Resource(s)

Potential Terraform Configuration

resource "aws_default_db_security_group" "default" {
  tags = {
    env = "unused"
  }
}
github-actions[bot] commented 1 month ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!