You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then attempting a plan or apply will result in a prompt of a potential change (even though none should be occurring):
Terraform will perform the following actions:
# namecheap_domain_records.mydomain-com will be updated in-place
~ resource "namecheap_domain_records" "mydomain-com" {
id = "mydomain.com"
~ mode = "IMPORT" -> "MERGE"
# (2 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
The import seems to set the mode to IMPORT even though according to the docs (and terraform) this is not a valid option. Perhaps to will not cause any issue, but the expectation would be no changes occurring and it would be preferred to be confident that no changes are occurring for a domain record so you are not worried it might create an unknown issue.
Error: expected mode to be one of [MERGE OVERWRITE], got IMPORT
How to recreate:
Import a namecheap record with
nameservers
. The importmode
is set to "IMPORT"https://github.com/namecheap/terraform-provider-namecheap/blob/master/namecheap/namecheap_domain_record.go#L17
The text was updated successfully, but these errors were encountered: