Cloud Provider custom configuration
Additional Variables
Check out variables.tf
for a complete list of variables, for example for AWS. Each one of them can be replaced with a custom value set within the terraform.tfvars
.
Custom Domain Support
- AWS
- Azure
- GCP
This terraform script supports the use of custom domains via Route53.
-
Ensure your access key can create dns records in the target Route53 zone.
-
Add the following values to the
terraform.tfvars
file:aws_region = "" # AWS Region to deploy infrastructure to
custom_domain = "" # Set to override default domain (ip_address.xip.io)
route53_zone_name = "" # Name of route53 zone (defaults to public zones)
This terraform script supports the use of custom domains via Azure DNS.
-
Ensure your account can create DNS records in the target Azure DNS zone.
-
Add the following values to the
terraform.tfvars
file:
azure_location = "" # azure location where you want to provision the resources
custom_domain = "acebox.example.com" # Set to override default domain (ip_address.xip.io)
dns_zone_name = "example.com" # Name of Azure DNS zone
This terraform script supports the use of custom domains via Cloud DNS.
-
Ensure your service account can create DNS records in the target Cloud DNS managed zone.
-
Add the following values to the
terraform.tfvars
file:gcloud_project = "myGCPProject" # GCP Project you want to use
gcloud_zone = "europe-west1-b" # zone where you want to provision the resources. Check out https://cloud.google.com/compute/docs/regions-zones#available for available zones
custom_domain = "acebox.example.com" # Set to override default domain (ip_address.xip.io)
managed_zone_name = "example.com" # Name of Cloud DNS managed zone
Send OpenTelemetry Traces to Dynatrace
Note: same for all cloud providers
It is possible to leverage the Ansible OpenTelemetry callback plugin to send Traces to the Dynatraces API.
The following variable need to be set to enable it:
otel_export_enable = true
Note: The traces will be sent to the
dt_tenant/api/v2/otlp
endpoint Note: The api token specified in thedt_api_token
variable needs to have the additionalopenTelemetryTrace.ingest
scope