Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.51 KB

securityzone.html.md

File metadata and controls

50 lines (37 loc) · 1.51 KB
layout page_title sidebar_current description
gridscale
gridscale: securityzone
docs-gridscale-datasource-securityzone
Get data of a security zone.

gridscale_paas_securityzone

Get data of a security zone.

Example Usage

Using the security zone datasource for the creation of a paas:

data "gridscale_paas_securityzone" "foo"{
  resource_id = "xxxx-xxxx-xxxx-xxxx"
}


resource "gridscale_paas" "foo"{
  name = "terra-paas-test"
  service_template_uuid = "f9625726-5ca8-4d5c-b9bd-3257e1e2211a"
  security_zone_uuid = data.gridscale_paas_securityzone.foo.id
}

Argument Reference

The following arguments are supported:

  • resource_id - (Required) The UUID of the security zone.

Attributes Reference

The following attributes are exported:

  • id - The UUID of the security zone.
  • name - The human-readable name of the object. It supports the full UTF-8 character set, with a maximum of 64 characters.
  • location_uuid - The location this object is placed.
  • location_country - The human-readable name of the location's country.
  • location_iata - Uses IATA airport code, which works as a location identifier.
  • location_name - The human-readable name of the location.
  • create_time - Defines the date and time the object was initially created.
  • change_time - Defines the date and time of the last object change.
  • status - Status indicates the status of the object.
  • labels - List of labels.
  • relations - List of PaaS services' UUIDs relating to the security zone.