Add dynu_record_import_id variable for record imports
This commit is contained in:
@@ -17,6 +17,7 @@ Use local `terraform.tfvars` (or provider-supported environment variables).
|
||||
- Required variable: `dynu_api_key`
|
||||
- Domain variable: `dynu_root_domain` (defaults to `lan.ddnsgeek.com`)
|
||||
- Optional placeholders for future provider auth changes: `dynu_username`, `dynu_password`
|
||||
- Import helper variable: `dynu_record_import_id` (set per record import operation)
|
||||
|
||||
Never commit:
|
||||
|
||||
|
||||
@@ -12,5 +12,5 @@ import {
|
||||
#
|
||||
# import {
|
||||
# to = dynu_dns_record.grafana_lan_ddnsgeek_com
|
||||
# id = "REPLACE_WITH_DYNU_RECORD_IMPORT_ID"
|
||||
# id = var.dynu_record_import_id
|
||||
# }
|
||||
|
||||
@@ -4,3 +4,4 @@ dynu_username = null
|
||||
dynu_password = null
|
||||
|
||||
dynu_root_domain = "lan.ddnsgeek.com"
|
||||
dynu_record_import_id = "REPLACE_WITH_DYNU_RECORD_IMPORT_ID"
|
||||
|
||||
@@ -25,3 +25,9 @@ variable "dynu_password" {
|
||||
sensitive = true
|
||||
default = null
|
||||
}
|
||||
|
||||
variable "dynu_record_import_id" {
|
||||
description = "Placeholder import ID for a single dynu_dns_record during one-at-a-time reconciliation."
|
||||
type = string
|
||||
default = "REPLACE_WITH_DYNU_RECORD_IMPORT_ID"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user