Difference between revisions of "Terraform resource: aws network interface sg attachment"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_interface_sg_attachment
 +
aws_network_interface_sg_attachment
 +
 +
 +
resource "aws_network_interface_sg_attachment" "sg_attachment" {
 +
  security_group_id    = aws_security_group.sg.id
 +
  network_interface_id = aws_instance.instance.primary_network_interface_id
 +
}
 +
  
 +
== Related ==
 +
* [[Terraform resource: aws_security_group]]
  
aws_network_interface_sg_attachment
 
  
  
 +
== See also ==
 
* {{tf sg}}
 
* {{tf sg}}
 
* {{tf rs}}
 
* {{tf rs}}
 +
 +
[[Category:Terraform]]

Latest revision as of 09:18, 13 March 2023

aws_network_interface_sg_attachment


resource "aws_network_interface_sg_attachment" "sg_attachment" {
  security_group_id    = aws_security_group.sg.id
  network_interface_id = aws_instance.instance.primary_network_interface_id
}


Related[edit]


See also[edit]

Advertising: