Archived
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LFZyrmtKsezBwFWGTWsb2y
19 lines
273 B
Terraform
19 lines
273 B
Terraform
terraform {
|
|
required_providers {
|
|
dynu = {
|
|
source = "beatz174-bit/dynu"
|
|
version = "~> 0.4.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "dynu" {}
|
|
|
|
data "dynu_domain" "selected" {
|
|
hostname = "www.example.com"
|
|
}
|
|
|
|
output "domain" {
|
|
value = data.dynu_domain.selected.domain
|
|
}
|