Archived
Fix Dynu inventory by removing unsupported regexreplace usage
This commit is contained in:
1 parent
685a472572
commit
24cbb02bff
3 files changed
+34
-16
No files matched your search
@@ -39,9 +39,9 @@ output "dynu_dns_hostnames" {
|
||||
}
|
||||
|
||||
output "dynu_dns_record_import_ids" {
|
||||
description = "Map of generated Terraform resource names to provider import IDs in domain_id/record_id format."
|
||||
description = "Map of Dynu DNS record identity to provider import IDs in domain_id/record_id format."
|
||||
value = {
|
||||
for name, record in local.dynu_dns_record_name_map :
|
||||
name => format("%s/%s", record.domain_id, record.id)
|
||||
for record in data.dynu_dns_records.root.records :
|
||||
format("%s/%s/%s", record.hostname, record.record_type, record.id) => format("%s/%s", record.domain_id, record.id)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user