Manage API Shield with Terraform
Get started with API Shield using Terraform from the examples below. For more information on how to use Terraform with Cloudflare, refer to the Terraform documentation.
The following resources are available to configure through Terraform:
Session identifiers
-
api_shieldfor configuring session identifiers in API Shield.
Endpoint Management
-
api_shield_operationfor configuring endpoints in Endpoint Management.
Schema Validation 2.0
-
api_shield_schemafor configuring a schema in Schema Validation 2.0. -
api_shield_schema_validation_settingsfor configuring zone-level Schema Validation 2.0 settings. -
api_shield_operation_schema_validation_settingsfor configuring operation-level Schema Validation 2.0 settings.
Manage API Shield session identifiers
Refer to the example configuration below to set up session identifiers on your zone.
Manage API Shield Endpoint Management
Refer to the example configuration below to manage endpoints on your zone.
Manage Schema Validation 2.0
Refer to the example configuration below to manage Schema Validation 2.0 on your zone.