Difference between revisions of "Terraform resource: aws network interface sg attachment"
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/network_interface_sg_attachment | * https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/network_interface_sg_attachment | ||
aws_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]] | ||
Latest revision as of 09:18, 13 March 2023
Advertising: