ionoscloud_nsg
Creates and manages IONOS CLOUD Network Security Group.
Last updated
Was this helpful?
Was this helpful?
terraform import ionoscloud_nsg.mynsg datacenter uuid/nsg uuidresource "ionoscloud_datacenter" "example" {
name = "Datacenter NSG Example"
location = "de/txl"
}
import {
to = ionoscloud_nsg.imported
id = "datacenter uuid/default nsg uuid"
}
resource "ionoscloud_nsg" "imported_default" { # Imported here
datacenter_id = ionoscloud_datacenter.example.id
}