Use this data source to get the ID of an available FlexibleEngine security group.
data "flexibleengine_networking_secgroup_v2" "secgroup" { name = "tf_test_secgroup" }
region
- (Optional) The region in which to obtain the V2 Neutron client. A Neutron client is needed to retrieve security groups ids. If omitted, the region
argument of the provider is used.
secgroup_id
- (Optional) The ID of the security group.
name
- (Optional) The name of the security group.
tenant_id
- (Optional) The owner of the security group.
id
is set to the ID of the found security group. In addition, the following attributes are exported:
name
- See Argument Reference above. description
- The description of the security group. region
- See Argument Reference above.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/flexibleengine/d/networking_secgroup_v2.html