File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Terraform/deploy-fsx-ontap/standalone-module Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,16 @@ resource "aws_vpc_security_group_ingress_rule" "ssh" {
241241 ip_protocol = " tcp"
242242}
243243
244+ resource "aws_vpc_security_group_ingress_rule" "s3_and_api" {
245+ security_group_id = aws_security_group. fsx_sg . id
246+ description = " Provice acccess to S3 and the ONTAP REST API"
247+ cidr_ipv4 = (local. ciddr_block != " " ? local. ciddr_block : null )
248+ referenced_security_group_id = (local. security_group_id != " " ? local. security_group_id : null )
249+ from_port = 443
250+ to_port = 443
251+ ip_protocol = " tcp"
252+ }
253+
244254resource "aws_vpc_security_group_egress_rule" "allow_all_traffic" {
245255 security_group_id = aws_security_group. fsx_sg . id
246256 cidr_ipv4 = " 0.0.0.0/0" // Allow all output traffic.
You can’t perform that action at this time.
0 commit comments