terraform-provider-selectel
terraform-provider-selectel copied to clipboard
No data for selectel_domains_zone_v2 resorce
trafficstars
Affected Resource(s)
Please list the resources as a list, for example:
- selectel_domains_zone_v2
- selectel_domains_rrset_v2
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
resource "selectel_domains_rrset_v2" reqires "zone_id"
resource "selectel_domains_rrset_v2" "a_rrset_1" {
zone_id = selectel_domains_zone_v2.zone_1.id
name = "example.com."
type = "A"
ttl = 60
project_id = selectel_vpc_project_v2.project_1.id
records {
content = "127.0.0.1"
# The content value is "<ipv4_address>"
}
}
But if Zone is already exists, and was not created within same terraform module, there is no way to gather data of it, to reciwe an ID.
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
- #249