Difference between revisions of "Terraform resource: aws db security group"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_security_group
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_security_group
 +
 +
Official example:
 +
resource "aws_db_security_group" "default" {
 +
  name = "rds_sg"
 +
 +
  ingress {
 +
    cidr = "10.0.0.0/24"
 +
  }
 +
}
  
  
Line 6: Line 15:
 
== See also ==
 
== See also ==
 
* {{terraform aws resources}}
 
* {{terraform aws resources}}
 +
 +
[[Category:Terraform]]

Latest revision as of 21:07, 1 June 2022

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_security_group

Official example:

resource "aws_db_security_group" "default" {
  name = "rds_sg" 

  ingress {
    cidr = "10.0.0.0/24"
  }
}


See also[edit]

Advertising: