Skip to content

Commit

Permalink
Resource ibm subnet network acl attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
MalarvizhiK authored and hkantare committed Oct 8, 2020
1 parent 99976d6 commit 8d81033
Show file tree
Hide file tree
Showing 6 changed files with 689 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/ibm-is-vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,11 @@ resource "ibm_is_network_acl" "isExampleACL" {
}
}

resource "ibm_is_subnet_network_acl_attachment" attach {
subnet = ibm_is_subnet.subnet1.id
network_acl = ibm_is_network_acl.isExampleACL.id
}

resource "ibm_is_public_gateway" "publicgateway1" {
name = "gateway1"
vpc = ibm_is_vpc.vpc1.id
Expand Down
1 change: 1 addition & 0 deletions ibm/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ func Provider() terraform.ResourceProvider {
"ibm_is_security_group_rule": resourceIBMISSecurityGroupRule(),
"ibm_is_security_group_network_interface_attachment": resourceIBMISSecurityGroupNetworkInterfaceAttachment(),
"ibm_is_subnet": resourceIBMISSubnet(),
"ibm_is_subnet_network_acl_attachment": resourceIBMISSubnetNetworkACLAttachment(),
"ibm_is_ssh_key": resourceIBMISSSHKey(),
"ibm_is_volume": resourceIBMISVolume(),
"ibm_is_vpn_gateway": resourceIBMISVPNGateway(),
Expand Down
Loading

0 comments on commit 8d81033

Please sign in to comment.